summaryrefslogtreecommitdiff
path: root/posix/fork.c
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2013-06-08 00:22:23 +0000
committerJoseph Myers <joseph@codesourcery.com>2013-06-08 00:22:23 +0000
commit60d2f8f3c7f1cdacafcbd60dc004e32cc90035ca (patch)
tree29d9258b64874c6c9838757a9c67ef62a6a0868c /posix/fork.c
parent2e09a79ada1f6d92809a037d41895e3d9302ad59 (diff)
Use (void) in no-arguments function definitions.
Diffstat (limited to 'posix/fork.c')
-rw-r--r--posix/fork.c2
1 files changed, 1 insertions, 1 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;