about summary refs log tree commit diff
path: root/sysdeps/mach/getsysstats.c
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2013-06-08 00:22:23 +0000
committerJoseph Myers <joseph@codesourcery.com>2013-06-08 00:22:23 +0000
commit60d2f8f3c7f1cdacafcbd60dc004e32cc90035ca (patch)
tree29d9258b64874c6c9838757a9c67ef62a6a0868c /sysdeps/mach/getsysstats.c
parent2e09a79ada1f6d92809a037d41895e3d9302ad59 (diff)
downloadglibc-60d2f8f3c7f1cdacafcbd60dc004e32cc90035ca.tar.gz
glibc-60d2f8f3c7f1cdacafcbd60dc004e32cc90035ca.tar.xz
glibc-60d2f8f3c7f1cdacafcbd60dc004e32cc90035ca.zip
Use (void) in no-arguments function definitions.
Diffstat (limited to 'sysdeps/mach/getsysstats.c')
-rw-r--r--sysdeps/mach/getsysstats.c8
1 files changed, 4 insertions, 4 deletions
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;