=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/top/top.h,v retrieving revision 1.9 retrieving revision 1.10 diff -c -r1.9 -r1.10 *** src/usr.bin/top/top.h 2007/03/30 19:21:19 1.9 --- src/usr.bin/top/top.h 2007/05/29 00:56:56 1.10 *************** *** 1,4 **** ! /* $OpenBSD: top.h,v 1.9 2007/03/30 19:21:19 otto Exp $ */ /* * Top users/processes display for Unix --- 1,4 ---- ! /* $OpenBSD: top.h,v 1.10 2007/05/29 00:56:56 otto Exp $ */ /* * Top users/processes display for Unix *************** *** 61,73 **** #define NUM_AVERAGES 3 - /* externs */ - extern const char copyright[]; ! extern int overstrike; /* commands.c */ - extern void show_help(void); extern int error_count(void); extern void show_errors(void); extern char *kill_procs(char *); --- 61,76 ---- #define NUM_AVERAGES 3 ! struct errs { /* structure for a system-call error */ ! int err; /* value of errno (that is, the actual error) */ ! char *arg; /* argument that caused the error */ ! }; + extern struct errs errs[]; + extern int errcnt; + /* commands.c */ extern int error_count(void); extern void show_errors(void); extern char *kill_procs(char *);