diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2002-02-16 21:28:12 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2002-02-16 21:28:12 +0000 |
commit | 6d57a1a176004a7d8fc009cdcf760098f86e3263 (patch) | |
tree | ee423c619fad03813234b9362694a17f3a638f0b /usr.bin/top/commands.c | |
parent | c707cb295fc3cac8d8feb343e949e0dcf71b8476 (diff) |
Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
Diffstat (limited to 'usr.bin/top/commands.c')
-rw-r--r-- | usr.bin/top/commands.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/usr.bin/top/commands.c b/usr.bin/top/commands.c index 7ab0927aa35..c7875883deb 100644 --- a/usr.bin/top/commands.c +++ b/usr.bin/top/commands.c @@ -1,4 +1,4 @@ -/* $OpenBSD: commands.c,v 1.3 2001/11/19 19:02:17 mpech Exp $ */ +/* $OpenBSD: commands.c,v 1.4 2002/02/16 21:27:55 millert Exp $ */ /* * Top users/processes display for Unix @@ -36,12 +36,12 @@ #include "utils.h" #include "machine.h" -static char *next_field __P((char *)); -static int scanint __P((char *, int *)); -static char *err_string __P((void)); -static int str_adderr __P((char *, int, int)); -static int str_addarg __P((char *, int, char *, int)); -static int err_compar __P((const void *, const void *)); +static char *next_field(char *); +static int scanint(char *, int *); +static char *err_string(void); +static int str_adderr(char *, int, int); +static int str_addarg(char *, int, char *, int); +static int err_compar(const void *, const void *); /* * show_help() - display the help screen; invoked in response to |