aboutsummaryrefslogtreecommitdiff
path: root/misc/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 /misc/getsysstats.c
parent2e09a79ada1f6d92809a037d41895e3d9302ad59 (diff)
downloadglibc-60d2f8f3c7f1cdacafcbd60dc004e32cc90035ca.tar
glibc-60d2f8f3c7f1cdacafcbd60dc004e32cc90035ca.tar.gz
glibc-60d2f8f3c7f1cdacafcbd60dc004e32cc90035ca.tar.bz2
glibc-60d2f8f3c7f1cdacafcbd60dc004e32cc90035ca.zip
Use (void) in no-arguments function definitions.
Diffstat (limited to 'misc/getsysstats.c')
-rw-r--r--misc/getsysstats.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/misc/getsysstats.c b/misc/getsysstats.c
index 83b07cafec..d6f9df59d2 100644
--- a/misc/getsysstats.c
+++ b/misc/getsysstats.c
@@ -21,7 +21,7 @@
#include <sys/sysinfo.h>
int
-__get_nprocs_conf ()
+__get_nprocs_conf (void)
{
/* We don't know how to determine the number. Simply return always 1. */
return 1;
@@ -33,7 +33,7 @@ link_warning (get_nprocs_conf, "warning: get_nprocs_conf will always return 1")
int
-__get_nprocs ()
+__get_nprocs (void)
{
/* We don't know how to determine the number. Simply return always 1. */
return 1;
@@ -44,7 +44,7 @@ link_warning (get_nprocs, "warning: get_nprocs will always return 1")
long int
-__get_phys_pages ()
+__get_phys_pages (void)
{
/* We have no general way to determine this value. */
__set_errno (ENOSYS);
@@ -56,7 +56,7 @@ stub_warning (get_phys_pages)
long int
-__get_avphys_pages ()
+__get_avphys_pages (void)
{
/* We have no general way to determine this value. */
__set_errno (ENOSYS);