summaryrefslogtreecommitdiff
path: root/usr.bin/top/top.h
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2002-02-16 21:28:12 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2002-02-16 21:28:12 +0000
commit6d57a1a176004a7d8fc009cdcf760098f86e3263 (patch)
treeee423c619fad03813234b9362694a17f3a638f0b /usr.bin/top/top.h
parentc707cb295fc3cac8d8feb343e949e0dcf71b8476 (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/top.h')
-rw-r--r--usr.bin/top/top.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/usr.bin/top/top.h b/usr.bin/top/top.h
index 99b05ccc693..93857eff9f2 100644
--- a/usr.bin/top/top.h
+++ b/usr.bin/top/top.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: top.h,v 1.2 1997/08/22 07:16:30 downsj Exp $ */
+/* $OpenBSD: top.h,v 1.3 2002/02/16 21:27:55 millert Exp $ */
/*
* Top - a top users display for Berkeley Unix
@@ -39,19 +39,19 @@ 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 *));
+extern void show_help(void);
+extern int error_count(void);
+extern void show_errors(void);
+extern char *kill_procs(char *);
+extern char *renice_procs(char *);
/* top.c */
-extern void quit __P((int));
+extern void quit(int);
/* username.c */
-extern void init_hash __P((void));
-extern char *username __P((uid_t));
-extern uid_t userid __P((char *));
+extern void init_hash(void);
+extern char *username(uid_t);
+extern uid_t userid(char *);
/* version.c */
-extern char *version_string __P((void));
+extern char *version_string(void);