[BACK]Return to top.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / top

Diff for /src/usr.bin/top/top.c between version 1.23 and 1.24

version 1.23, 2003/06/16 17:24:44 version 1.24, 2003/06/18 08:36:31
Line 37 
Line 37 
 #include <stdio.h>  #include <stdio.h>
 #include <ctype.h>  #include <ctype.h>
 #include <signal.h>  #include <signal.h>
 #include <setjmp.h>  
 #include <string.h>  #include <string.h>
 #include <stdlib.h>  #include <stdlib.h>
 #include <unistd.h>  #include <unistd.h>
Line 74 
Line 73 
 static void     reset_display(void);  static void     reset_display(void);
 int             rundisplay(void);  int             rundisplay(void);
   
 /* values which need to be accessed by signal handlers */  
 static int      max_topn;       /* maximum displayable processes */  static int      max_topn;       /* maximum displayable processes */
   
 /* miscellaneous things */  
 jmp_buf         jmp_int;  
   
 extern int      (*proc_compares[])(const void *, const void *);  extern int      (*proc_compares[])(const void *, const void *);
 int order_index;  int order_index;
   
Line 101 
Line 96 
 double delay = Default_DELAY;  double delay = Default_DELAY;
 char *order_name = NULL;  char *order_name = NULL;
 int topn = Default_TOPN;  int topn = Default_TOPN;
 int no_command = 1;  int no_command = Yes;
   
 #if Default_TOPN == Infinity  #if Default_TOPN == Infinity
 char topn_specified = No;  char topn_specified = No;

Legend:
Removed from v.1.23  
changed lines
  Added in v.1.24