=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/top/top.c,v retrieving revision 1.23 retrieving revision 1.24 diff -c -r1.23 -r1.24 *** src/usr.bin/top/top.c 2003/06/16 17:24:44 1.23 --- src/usr.bin/top/top.c 2003/06/18 08:36:31 1.24 *************** *** 1,4 **** ! /* $OpenBSD: top.c,v 1.23 2003/06/16 17:24:44 millert Exp $ */ /* * Top users/processes display for Unix --- 1,4 ---- ! /* $OpenBSD: top.c,v 1.24 2003/06/18 08:36:31 deraadt Exp $ */ /* * Top users/processes display for Unix *************** *** 37,43 **** #include #include #include - #include #include #include #include --- 37,42 ---- *************** *** 74,85 **** static void reset_display(void); int rundisplay(void); - /* values which need to be accessed by signal handlers */ static int max_topn; /* maximum displayable processes */ - /* miscellaneous things */ - jmp_buf jmp_int; - extern int (*proc_compares[])(const void *, const void *); int order_index; --- 73,80 ---- *************** *** 101,107 **** double delay = Default_DELAY; char *order_name = NULL; int topn = Default_TOPN; ! int no_command = 1; #if Default_TOPN == Infinity char topn_specified = No; --- 96,102 ---- double delay = Default_DELAY; char *order_name = NULL; int topn = Default_TOPN; ! int no_command = Yes; #if Default_TOPN == Infinity char topn_specified = No;