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/mach/getsysstats.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sysdeps/mach/getsysstats.c') diff --git a/sysdeps/mach/getsysstats.c b/sysdeps/mach/getsysstats.c index cc28f57c77..075511308c 100644 --- a/sysdeps/mach/getsysstats.c +++ b/sysdeps/mach/getsysstats.c @@ -24,7 +24,7 @@ /* Return the number of processors configured on the system. */ int -__get_nprocs_conf () +__get_nprocs_conf (void) { struct host_basic_info hbi; kern_return_t err; @@ -43,7 +43,7 @@ weak_alias (__get_nprocs_conf, get_nprocs_conf) /* Return the number of processors currently available on the system. */ int -__get_nprocs () +__get_nprocs (void) { struct host_basic_info hbi; kern_return_t err; @@ -62,7 +62,7 @@ weak_alias (__get_nprocs, get_nprocs) /* Return the number of physical pages on the system. */ long int -__get_phys_pages () +__get_phys_pages (void) { struct host_basic_info hbi; kern_return_t err; @@ -81,7 +81,7 @@ weak_alias (__get_phys_pages, get_phys_pages) /* Return the number of available physical pages */ long int -__get_avphys_pages () +__get_avphys_pages (void) { vm_statistics_data_t vs; kern_return_t err; -- cgit 1.4.1