From: Jim Meyering Date: Thu, 27 Feb 2003 20:21:21 +0000 (+0000) Subject: (physmem_total, physmem_available): Add comments. X-Git-Tag: v4.5.9~110 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9c97727fb2bf9d3403d60a77d5a8ed4cbf8a4f50;p=thirdparty%2Fcoreutils.git (physmem_total, physmem_available): Add comments. --- diff --git a/lib/physmem.c b/lib/physmem.c index 4bd0faa37b..4770b0a134 100644 --- a/lib/physmem.c +++ b/lib/physmem.c @@ -83,7 +83,7 @@ double physmem_total () { #if defined _SC_PHYS_PAGES && defined _SC_PAGESIZE - { + { /* This works on linux-gnu, solaris2 and cygwin. */ double pages = sysconf (_SC_PHYS_PAGES); double pagesize = sysconf (_SC_PAGESIZE); if (0 <= pages && 0 <= pagesize) @@ -187,7 +187,7 @@ double physmem_available () { #if defined _SC_AVPHYS_PAGES && defined _SC_PAGESIZE - { + { /* This works on linux-gnu, solaris2 and cygwin. */ double pages = sysconf (_SC_AVPHYS_PAGES); double pagesize = sysconf (_SC_PAGESIZE); if (0 <= pages && 0 <= pagesize)