]> granicus.if.org Git - procps-ng/commitdiff
top: isolate #defines actually present in confiure.ac
authorJim Warner <james.warner@comcast.net>
Sat, 11 Feb 2012 07:01:01 +0000 (01:01 -0600)
committerCraig Small <csmall@enc.com.au>
Mon, 27 Feb 2012 21:45:35 +0000 (08:45 +1100)
All top.h defines were lumped together as:
   'Development/Debugging defines'

This commit establishes this new category:
   'Defines represented in configure.ac'

And that new category now contains OOMEM_ENABLE,
which enables the SuSE out-of-memory additions

Signed-off-by: Jim Warner <james.warner@comcast.net>
top/top.h

index 6c04d36d1a4ef9062ea390d20c2a7ea18d93caf9..a275110924a84f70f20796d8bd9a95651ae66271 100644 (file)
--- a/top/top.h
+++ b/top/top.h
@@ -22,6 +22,9 @@
 
 #include "../proc/readproc.h"
 
+        /* Defines represented in configure.ac ----------------------------- */
+//#define OOMEM_ENABLE            /* enable the SuSE out-of-memory additions */
+
         /* Development/Debugging defines ----------------------------------- */
 //#define ATEOJ_RPTHSH            /* report on hash specifics, at end-of-job */
 //#define ATEOJ_RPTSTD            /* report on misc stuff, at end-of-job     */
@@ -31,7 +34,6 @@
 //#define EQUCOLHDRYES            /* yes, do equalize column header lengths  */
 //#define OFF_HST_HASH            /* use BOTH qsort+bsrch vs. hashing scheme */
 //#define OFF_STDIOLBF            /* disable our own stdout _IOFBF override  */
-//#define OOMEM_ENABLE            /* enable the SuSE out-of-memory additions */
 //#define PRETEND2_5_X            /* pretend we're linux 2.5.x (for IO-wait) */
 //#define PRETEND4CPUS            /* pretend we're smp with 4 ticsers (sic)  */
 //#define PRETENDNOCAP            /* use a terminal without essential caps   */