summaryrefslogtreecommitdiff
path: root/gcc/ada/expect.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ada/expect.c')
-rw-r--r--gcc/ada/expect.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/ada/expect.c b/gcc/ada/expect.c
index 3a86ffdf87c..54952268517 100644
--- a/gcc/ada/expect.c
+++ b/gcc/ada/expect.c
@@ -72,7 +72,7 @@ __gnat_kill (int pid, int sig)
}
int
-__gnat_expect_fork ()
+__gnat_expect_fork (void)
{
return 0;
}
@@ -159,7 +159,7 @@ __gnat_pipe (int *fd)
}
int
-__gnat_expect_fork ()
+__gnat_expect_fork (void)
{
return -1;
}
@@ -299,7 +299,7 @@ __gnat_pipe (int *fd)
}
int
-__gnat_expect_fork ()
+__gnat_expect_fork (void)
{
return fork ();
}
@@ -406,7 +406,7 @@ __gnat_pipe (int *fd)
}
int
-__gnat_expect_fork ()
+__gnat_expect_fork (void)
{
return -1;
}