summaryrefslogtreecommitdiff
path: root/usr.bin/top/username.c
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/username.c
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/username.c')
-rw-r--r--usr.bin/top/username.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/top/username.c b/usr.bin/top/username.c
index 09871f2f65b..4178304e733 100644
--- a/usr.bin/top/username.c
+++ b/usr.bin/top/username.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: username.c,v 1.4 2001/11/19 19:02:17 mpech Exp $ */
+/* $OpenBSD: username.c,v 1.5 2002/02/16 21:27:55 millert Exp $ */
/*
* Top users/processes display for Unix
@@ -43,8 +43,8 @@ struct hash_el {
char name[9];
};
-static int enter_user __P((uid_t, char *, int));
-static int get_user __P((uid_t));
+static int enter_user(uid_t, char *, int);
+static int get_user(uid_t);
#define is_empty_hash(x) (hash_table[x].name[0] == 0)