about summary refs log tree commit diff
path: root/posix
diff options
context:
space:
mode:
Diffstat (limited to 'posix')
-rw-r--r--posix/fork.c2
-rw-r--r--posix/getegid.c2
-rw-r--r--posix/geteuid.c2
-rw-r--r--posix/getgid.c2
-rw-r--r--posix/getpid.c2
-rw-r--r--posix/getppid.c2
-rw-r--r--posix/getuid.c2
-rw-r--r--posix/pause.c2
-rw-r--r--posix/setpgrp.c2
-rw-r--r--posix/setsid.c2
-rw-r--r--posix/test-vfork.c2
11 files changed, 11 insertions, 11 deletions
diff --git a/posix/fork.c b/posix/fork.c
index 01b5279199..4946a40b8b 100644
--- a/posix/fork.c
+++ b/posix/fork.c
@@ -23,7 +23,7 @@
    Return -1 for errors, 0 to the new process,
    and the process ID of the new process to the old process.  */
 int
-__fork ()
+__fork (void)
 {
   __set_errno (ENOSYS);
   return -1;
diff --git a/posix/getegid.c b/posix/getegid.c
index e8f09f5790..c14cc60971 100644
--- a/posix/getegid.c
+++ b/posix/getegid.c
@@ -20,7 +20,7 @@
 
 /* Get the effective group ID of the calling process.  */
 __gid_t
-__getegid ()
+__getegid (void)
 {
   __set_errno (ENOSYS);
   return -1;
diff --git a/posix/geteuid.c b/posix/geteuid.c
index 566db40b0d..c7af13f81e 100644
--- a/posix/geteuid.c
+++ b/posix/geteuid.c
@@ -21,7 +21,7 @@
 
 /* Get the effective user ID of the calling process.  */
 __uid_t
-__geteuid ()
+__geteuid (void)
 {
   __set_errno (ENOSYS);
   return -1;
diff --git a/posix/getgid.c b/posix/getgid.c
index 14f9dc6b0e..719f8fb46b 100644
--- a/posix/getgid.c
+++ b/posix/getgid.c
@@ -21,7 +21,7 @@
 
 /* Get the real group ID of the calling process.  */
 gid_t
-__getgid ()
+__getgid (void)
 {
   __set_errno (ENOSYS);
   return -1;
diff --git a/posix/getpid.c b/posix/getpid.c
index 4a64f57fa2..11a1865759 100644
--- a/posix/getpid.c
+++ b/posix/getpid.c
@@ -20,7 +20,7 @@
 
 /* Get the process ID of the calling process.  */
 int
-__getpid ()
+__getpid (void)
 {
   __set_errno (ENOSYS);
   return -1;
diff --git a/posix/getppid.c b/posix/getppid.c
index e6dfcbb605..c32032436e 100644
--- a/posix/getppid.c
+++ b/posix/getppid.c
@@ -21,7 +21,7 @@
 
 /* Get the parent process ID of the calling process.  */
 int
-__getppid ()
+__getppid (void)
 {
   __set_errno (ENOSYS);
   return -1;
diff --git a/posix/getuid.c b/posix/getuid.c
index ba81a80f65..19ad29626e 100644
--- a/posix/getuid.c
+++ b/posix/getuid.c
@@ -21,7 +21,7 @@
 
 /* Get the real user ID of the calling process.  */
 uid_t
-__getuid ()
+__getuid (void)
 {
   __set_errno (ENOSYS);
   return -1;
diff --git a/posix/pause.c b/posix/pause.c
index 81b583b545..19eebe76c2 100644
--- a/posix/pause.c
+++ b/posix/pause.c
@@ -23,7 +23,7 @@
    This is supposed to always return -1 and set errno to EINTR,
    but rules were meant to be broken.  */
 int
-pause ()
+pause (void)
 {
   __set_errno (ENOSYS);
   return -1;
diff --git a/posix/setpgrp.c b/posix/setpgrp.c
index 18fce1db96..f31950b928 100644
--- a/posix/setpgrp.c
+++ b/posix/setpgrp.c
@@ -18,7 +18,7 @@
 #include <unistd.h>
 
 int
-setpgrp ()
+setpgrp (void)
 {
   return __setpgid (0, 0);
 }
diff --git a/posix/setsid.c b/posix/setsid.c
index d442d5775a..d3b99b2beb 100644
--- a/posix/setsid.c
+++ b/posix/setsid.c
@@ -23,7 +23,7 @@
    The process group IDs of the session and the calling process
    are set to the process ID of the calling process, which is returned.  */
 int
-__setsid ()
+__setsid (void)
 {
   __set_errno (ENOSYS);
   return -1;
diff --git a/posix/test-vfork.c b/posix/test-vfork.c
index c4904e36e1..6dfb7d47e3 100644
--- a/posix/test-vfork.c
+++ b/posix/test-vfork.c
@@ -37,6 +37,6 @@ main (void)
 }
 
 void
-noop ()
+noop (void)
 {
 }