From 60d2f8f3c7f1cdacafcbd60dc004e32cc90035ca Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Sat, 8 Jun 2013 00:22:23 +0000 Subject: Use (void) in no-arguments function definitions. --- sysdeps/unix/bsd/setsid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sysdeps/unix/bsd/setsid.c') 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; -- cgit v1.2.3