aboutsummaryrefslogtreecommitdiff
path: root/posix/pause.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/pause.c
parent2e09a79ada1f6d92809a037d41895e3d9302ad59 (diff)
downloadglibc-60d2f8f3c7f1cdacafcbd60dc004e32cc90035ca.zip
glibc-60d2f8f3c7f1cdacafcbd60dc004e32cc90035ca.tar.gz
glibc-60d2f8f3c7f1cdacafcbd60dc004e32cc90035ca.tar.bz2
Use (void) in no-arguments function definitions.
Diffstat (limited to 'posix/pause.c')
-rw-r--r--posix/pause.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/posix/pause.c b/posix/pause.c
index 81b583b..19eebe7 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;