diff options
author | deraadt <deraadt@openbsd.org> | 2003-06-28 20:22:21 +0000 |
---|---|---|
committer | deraadt <deraadt@openbsd.org> | 2003-06-28 20:22:21 +0000 |
commit | b4edead384bc85d25546c7dff7e59d43db153ee1 (patch) | |
tree | 283ffdedb2fc50f050d927c237cabcc4d7487e5c /usr.sbin/sa | |
parent | tweak; (diff) | |
download | wireguard-openbsd-b4edead384bc85d25546c7dff7e59d43db153ee1.tar.xz wireguard-openbsd-b4edead384bc85d25546c7dff7e59d43db153ee1.zip |
ansi
Diffstat (limited to 'usr.sbin/sa')
-rw-r--r-- | usr.sbin/sa/pdb.c | 12 | ||||
-rw-r--r-- | usr.sbin/sa/usrdb.c | 12 |
2 files changed, 12 insertions, 12 deletions
diff --git a/usr.sbin/sa/pdb.c b/usr.sbin/sa/pdb.c index 3291d884e4b..bce0183ad33 100644 --- a/usr.sbin/sa/pdb.c +++ b/usr.sbin/sa/pdb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pdb.c,v 1.6 2002/05/30 18:47:44 deraadt Exp $ */ +/* $OpenBSD: pdb.c,v 1.7 2003/06/28 20:22:21 deraadt Exp $ */ /* * Copyright (c) 1994 Christopher G. Demetriou * All rights reserved. @@ -30,7 +30,7 @@ */ #ifndef LINT -static char rcsid[] = "$Id: pdb.c,v 1.6 2002/05/30 18:47:44 deraadt Exp $"; +static char rcsid[] = "$Id: pdb.c,v 1.7 2003/06/28 20:22:21 deraadt Exp $"; #endif #include <sys/types.h> @@ -50,7 +50,7 @@ static void print_ci(const struct cmdinfo *, const struct cmdinfo *); static DB *pacct_db; int -pacct_init() +pacct_init(void) { DB *saved_pacct_db; int error; @@ -107,7 +107,7 @@ out: if (error != 0) } void -pacct_destroy() +pacct_destroy(void) { if (DB_CLOSE(pacct_db) < 0) warn("destroying process accounting stats"); @@ -156,7 +156,7 @@ pacct_add(const struct cmdinfo *ci) } int -pacct_update() +pacct_update(void) { DB *saved_pacct_db; DBT key, data; @@ -204,7 +204,7 @@ pacct_update() } void -pacct_print() +pacct_print(void) { BTREEINFO bti; DBT key, data, ndata; diff --git a/usr.sbin/sa/usrdb.c b/usr.sbin/sa/usrdb.c index 7eadbb89f77..cad4e043263 100644 --- a/usr.sbin/sa/usrdb.c +++ b/usr.sbin/sa/usrdb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: usrdb.c,v 1.6 2002/05/30 18:47:44 deraadt Exp $ */ +/* $OpenBSD: usrdb.c,v 1.7 2003/06/28 20:22:21 deraadt Exp $ */ /* * Copyright (c) 1994 Christopher G. Demetriou * All rights reserved. @@ -30,7 +30,7 @@ */ #ifndef LINT -static char rcsid[] = "$Id: usrdb.c,v 1.6 2002/05/30 18:47:44 deraadt Exp $"; +static char rcsid[] = "$Id: usrdb.c,v 1.7 2003/06/28 20:22:21 deraadt Exp $"; #endif #include <sys/types.h> @@ -49,7 +49,7 @@ static int uid_compare(const DBT *, const DBT *); static DB *usracct_db; int -usracct_init() +usracct_init(void) { DB *saved_usracct_db; BTREEINFO bti; @@ -112,7 +112,7 @@ out: } void -usracct_destroy() +usracct_destroy(void) { if (DB_CLOSE(usracct_db) < 0) warn("destroying user accounting stats"); @@ -169,7 +169,7 @@ usracct_add(const struct cmdinfo *ci) } int -usracct_update() +usracct_update(void) { DB *saved_usracct_db; DBT key, data; @@ -221,7 +221,7 @@ usracct_update() } void -usracct_print() +usracct_print(void) { DBT key, data; struct userinfo uistore, *ui = &uistore; |