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/unix/bsd | |
parent | 2e09a79ada1f6d92809a037d41895e3d9302ad59 (diff) | |
download | glibc-60d2f8f3c7f1cdacafcbd60dc004e32cc90035ca.tar glibc-60d2f8f3c7f1cdacafcbd60dc004e32cc90035ca.tar.gz glibc-60d2f8f3c7f1cdacafcbd60dc004e32cc90035ca.tar.bz2 glibc-60d2f8f3c7f1cdacafcbd60dc004e32cc90035ca.zip |
Use (void) in no-arguments function definitions.
Diffstat (limited to 'sysdeps/unix/bsd')
-rw-r--r-- | sysdeps/unix/bsd/setsid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/bsd/setsid.c b/sysdeps/unix/bsd/setsid.c index 6c2f22c7a9..a42dc1dfd8 100644 --- a/sysdeps/unix/bsd/setsid.c +++ b/sysdeps/unix/bsd/setsid.c @@ -25,7 +25,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) { pid_t pid = getpid (); int tty; |