=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/top/top.h,v retrieving revision 1.9 retrieving revision 1.10 diff -u -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 +1,4 @@ -/* $OpenBSD: top.h,v 1.9 2007/03/30 19:21:19 otto Exp $ */ +/* $OpenBSD: top.h,v 1.10 2007/05/29 00:56:56 otto Exp $ */ /* * Top users/processes display for Unix @@ -61,13 +61,16 @@ #define NUM_AVERAGES 3 -/* externs */ -extern const char copyright[]; -extern int overstrike; +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 void show_help(void); extern int error_count(void); extern void show_errors(void); extern char *kill_procs(char *);