diff --git a/usr.bin/top/top.c b/usr.bin/top/top.c --- a/usr.bin/top/top.c +++ b/usr.bin/top/top.c @@ -42,6 +42,17 @@ /* Size of the stdio buffer given to stdout */ #define Buffersize 2048 +#ifdef TOP_SHOW_ARGS +#define SHOW_ARGS true +#else +#define SHOW_ARGS false +#endif +#ifdef TOP_PCPU_STATS +#define PCPU_STATS true +#else +#define PCPU_STATS false +#endif + char copyright[] = "Copyright (c) 1984 through 1996, William LeFebvre"; @@ -51,8 +62,8 @@ static char stdoutbuf[Buffersize]; static int fmt_flags = 0; -int show_args = false; -int pcpu_stats = false; +int show_args = SHOW_ARGS; +int pcpu_stats = PCPU_STATS; /* signal handling routines */ static sigret_t leave(int);