aboutsummaryrefslogtreecommitdiff
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/getuid.c
parentAvoid use of "register" as optimization hint. (diff)
downloadglibc-60d2f8f3c7f1cdacafcbd60dc004e32cc90035ca.tar.gz
glibc-60d2f8f3c7f1cdacafcbd60dc004e32cc90035ca.tar.bz2
glibc-60d2f8f3c7f1cdacafcbd60dc004e32cc90035ca.zip
Use (void) in no-arguments function definitions.
Diffstat (limited to 'posix/getuid.c')
-rw-r--r--posix/getuid.c2
1 files changed, 1 insertions, 1 deletions
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;