From 9c97727fb2bf9d3403d60a77d5a8ed4cbf8a4f50 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Thu, 27 Feb 2003 20:21:21 +0000 Subject: [PATCH] (physmem_total, physmem_available): Add comments. --- lib/physmem.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/physmem.c b/lib/physmem.c index 4bd0faa..4770b0a 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) -- 2.7.4