diff options
Diffstat (limited to 'sysdeps/unix')
-rw-r--r-- | sysdeps/unix/bsd/setsid.c | 2 | ||||
-rw-r--r-- | sysdeps/unix/getpagesize.c | 2 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/getclktck.c | 2 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/gethostid.c | 2 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/getpagesize.c | 2 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/getsysstats.c | 8 |
6 files changed, 9 insertions, 9 deletions
diff --git a/sysdeps/unix/bsd/setsid.c b/sysdeps/unix/bsd/setsid.c index 6c2f22c..a42dc1d 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; diff --git a/sysdeps/unix/getpagesize.c b/sysdeps/unix/getpagesize.c index 3d1fe8c..18b2503 100644 --- a/sysdeps/unix/getpagesize.c +++ b/sysdeps/unix/getpagesize.c @@ -20,7 +20,7 @@ /* Return the system page size. */ int -__getpagesize () +__getpagesize (void) { #ifdef EXEC_PAGESIZE return EXEC_PAGESIZE; diff --git a/sysdeps/unix/sysv/linux/getclktck.c b/sysdeps/unix/sysv/linux/getclktck.c index 55e9f4f..47ec6c0 100644 --- a/sysdeps/unix/sysv/linux/getclktck.c +++ b/sysdeps/unix/sysv/linux/getclktck.c @@ -25,7 +25,7 @@ /* Return frequency of times(). */ int -__getclktck () +__getclktck (void) { return GLRO(dl_clktck) ?: SYSTEM_CLK_TCK; } diff --git a/sysdeps/unix/sysv/linux/gethostid.c b/sysdeps/unix/sysv/linux/gethostid.c index 2cc3bb6..6f551b7 100644 --- a/sysdeps/unix/sysv/linux/gethostid.c +++ b/sysdeps/unix/sysv/linux/gethostid.c @@ -66,7 +66,7 @@ sethostid (id) # include <netinet/in.h> long int -gethostid () +gethostid (void) { char hostname[MAXHOSTNAMELEN + 1]; size_t buflen; diff --git a/sysdeps/unix/sysv/linux/getpagesize.c b/sysdeps/unix/sysv/linux/getpagesize.c index 2a9184d..e145415 100644 --- a/sysdeps/unix/sysv/linux/getpagesize.c +++ b/sysdeps/unix/sysv/linux/getpagesize.c @@ -24,7 +24,7 @@ /* Return the system page size. */ int -__getpagesize () +__getpagesize (void) { assert (GLRO(dl_pagesize) != 0); return GLRO(dl_pagesize); diff --git a/sysdeps/unix/sysv/linux/getsysstats.c b/sysdeps/unix/sysv/linux/getsysstats.c index 249bd19..88f28c9 100644 --- a/sysdeps/unix/sysv/linux/getsysstats.c +++ b/sysdeps/unix/sysv/linux/getsysstats.c @@ -124,7 +124,7 @@ next_line (int fd, char *const buffer, char **cp, char **re, int -__get_nprocs () +__get_nprocs (void) { static int cached_result; static time_t timestamp; @@ -234,7 +234,7 @@ weak_alias (__get_nprocs, get_nprocs) /* On some architectures it is possible to distinguish between configured and active cpus. */ int -__get_nprocs_conf () +__get_nprocs_conf (void) { /* XXX Here will come a test for the new system call. */ @@ -333,7 +333,7 @@ phys_pages_info (const char *format) But not all systems have support for the /proc filesystem. If it is not available we return -1 as an error signal. */ long int -__get_phys_pages () +__get_phys_pages (void) { /* XXX Here will come a test for the new system call. */ @@ -354,7 +354,7 @@ weak_alias (__get_phys_pages, get_phys_pages) But not all systems have support for the /proc filesystem. If it is not available we return -1 as an error signal. */ long int -__get_avphys_pages () +__get_avphys_pages (void) { /* XXX Here will come a test for the new system call. */ |