=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/systat/main.c,v retrieving revision 1.22 retrieving revision 1.23 diff -u -r1.22 -r1.23 --- src/usr.bin/systat/main.c 2002/02/16 21:27:54 1.22 +++ src/usr.bin/systat/main.c 2002/02/19 19:39:39 1.23 @@ -1,4 +1,4 @@ -/* $OpenBSD: main.c,v 1.22 2002/02/16 21:27:54 millert Exp $ */ +/* $OpenBSD: main.c,v 1.23 2002/02/19 19:39:39 millert Exp $ */ /* $NetBSD: main.c,v 1.8 1996/05/10 23:16:36 thorpej Exp $ */ /*- @@ -44,7 +44,7 @@ #if 0 static char sccsid[] = "@(#)main.c 8.1 (Berkeley) 6/6/93"; #endif -static char rcsid[] = "$OpenBSD: main.c,v 1.22 2002/02/16 21:27:54 millert Exp $"; +static char rcsid[] = "$OpenBSD: main.c,v 1.23 2002/02/19 19:39:39 millert Exp $"; #endif /* not lint */ #include @@ -59,6 +59,7 @@ #include #include #include +#include #include "systat.h" #include "extern.h" @@ -300,32 +301,14 @@ gotwinch = 1; } - -#ifdef __STDC__ -#include -#else -#include -#endif - -#ifdef __STDC__ void error(const char *fmt, ...) -#else -void -error(fmt, va_alist) - char *fmt; - va_dcl -#endif { va_list ap; char buf[255]; int oy, ox; -#ifdef __STDC__ - va_start(ap, fmt); -#else - va_start(ap); -#endif + va_start(ap, fmt); if (wnd) { getyx(stdscr, oy, ox); (void) vsnprintf(buf, sizeof buf, fmt, ap);