diff options
author | delphij <delphij@FreeBSD.org> | 2005-02-10 12:43:16 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2005-02-10 12:43:16 +0000 |
commit | 2dae001657dfe1ec592bb5a5d2bc1ac70eb69192 (patch) | |
tree | 0c1d44ccca058bdb8b3b31adee02a610d0896caf /usr.sbin/sa/usrdb.c | |
parent | 5dd8d305754a018754a81424da7eb8d297b122eb (diff) | |
download | FreeBSD-src-2dae001657dfe1ec592bb5a5d2bc1ac70eb69192.zip FreeBSD-src-2dae001657dfe1ec592bb5a5d2bc1ac70eb69192.tar.gz |
Full modernize cleanup:
- De-__P()
- constify where appropriate
- ANSI functions instead of K&R
Pointed out by: stefanf
Diffstat (limited to 'usr.sbin/sa/usrdb.c')
-rw-r--r-- | usr.sbin/sa/usrdb.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/usr.sbin/sa/usrdb.c b/usr.sbin/sa/usrdb.c index d2f739d..991fc90 100644 --- a/usr.sbin/sa/usrdb.c +++ b/usr.sbin/sa/usrdb.c @@ -45,7 +45,7 @@ __FBSDID("$FreeBSD$"); #include "extern.h" #include "pathnames.h" -static int uid_compare __P((const DBT *, const DBT *)); +static int uid_compare(const DBT *, const DBT *); static DB *usracct_db; @@ -120,8 +120,7 @@ usracct_destroy() } int -usracct_add(ci) - const struct cmdinfo *ci; +usracct_add(const struct cmdinfo *ci) { DBT key, data; struct userinfo newui; @@ -269,8 +268,7 @@ usracct_print() } static int -uid_compare(k1, k2) - const DBT *k1, *k2; +uid_compare(const DBT *k1, const DBT *k2) { u_long d1, d2; |