diff options
author | Joseph Myers <joseph@codesourcery.com> | 2013-06-08 00:22:23 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2013-06-08 00:22:23 +0000 |
commit | 60d2f8f3c7f1cdacafcbd60dc004e32cc90035ca (patch) | |
tree | 29d9258b64874c6c9838757a9c67ef62a6a0868c /sysdeps/mach/hurd/getlogin.c | |
parent | 2e09a79ada1f6d92809a037d41895e3d9302ad59 (diff) | |
download | glibc-60d2f8f3c7f1cdacafcbd60dc004e32cc90035ca.tar.gz |
Use (void) in no-arguments function definitions.
Diffstat (limited to 'sysdeps/mach/hurd/getlogin.c')
-rw-r--r-- | sysdeps/mach/hurd/getlogin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/mach/hurd/getlogin.c b/sysdeps/mach/hurd/getlogin.c index d88c043774..ce638afaf8 100644 --- a/sysdeps/mach/hurd/getlogin.c +++ b/sysdeps/mach/hurd/getlogin.c @@ -23,7 +23,7 @@ /* Return the login name of the user, or NULL if it can't be determined. The returned pointer, if not NULL, is good only until the next call. */ char * -getlogin () +getlogin (void) { static char login[1024]; /* XXX */ error_t err; |