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

Diff for /src/usr.bin/top/top.h between version 1.1 and 1.2

version 1.1, 1997/08/14 14:00:26 version 1.2, 1997/08/22 07:16:30
Line 6 
Line 6 
  *  General (global) definitions   *  General (global) definitions
  */   */
   
   #include <sys/cdefs.h>
   
 /* Current major version number */  /* Current major version number */
 #define VERSION         3  #define VERSION         3
   
Line 18 
Line 20 
 /* Log base 2 of 1024 is 10 (2^10 == 1024) */  /* Log base 2 of 1024 is 10 (2^10 == 1024) */
 #define LOG1024         10  #define LOG1024         10
   
 char *itoa();  
 char *itoa7();  
   
 char *version_string();  
   
 /* Special atoi routine returns either a non-negative number or one of: */  /* Special atoi routine returns either a non-negative number or one of: */
 #define Infinity        -1  #define Infinity        -1
 #define Invalid         -2  #define Invalid         -2
Line 36 
Line 33 
   
 #define NUM_AVERAGES    3  #define NUM_AVERAGES    3
   
   /* externs */
   extern const char copyright[];
   
   extern int overstrike;
   
   /* commands.c */
   extern void show_help __P((void));
   extern int error_count __P((void));
   extern void show_errors __P((void));
   extern char *kill_procs __P((char *));
   extern char *renice_procs __P((char *));
   
   /* top.c */
   extern void quit __P((int));
   
   /* username.c */
   extern void init_hash __P((void));
   extern char *username __P((uid_t));
   extern uid_t userid __P((char *));
   
   /* version.c */
   extern char *version_string __P((void));

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2