diff options
author | delphij <delphij@FreeBSD.org> | 2005-02-10 07:07:32 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2005-02-10 07:07:32 +0000 |
commit | f78cbbd5f525ebce5f26adf0fa8cfb30ed1b69a7 (patch) | |
tree | 54de2affeba9f5a06063e73910e8427e8da112c3 /usr.sbin/sa | |
parent | 70f09e0b1116ce21470d967c448095fc7dc2bf8b (diff) | |
download | FreeBSD-src-f78cbbd5f525ebce5f26adf0fa8cfb30ed1b69a7.zip FreeBSD-src-f78cbbd5f525ebce5f26adf0fa8cfb30ed1b69a7.tar.gz |
Code cleanup:
- Prefer modern declaration of functions
- WARNS?= 4 -> 6
Diffstat (limited to 'usr.sbin/sa')
-rw-r--r-- | usr.sbin/sa/Makefile | 2 | ||||
-rw-r--r-- | usr.sbin/sa/main.c | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/usr.sbin/sa/Makefile b/usr.sbin/sa/Makefile index 2f9537a..994e0dd 100644 --- a/usr.sbin/sa/Makefile +++ b/usr.sbin/sa/Makefile @@ -4,6 +4,6 @@ PROG= sa MAN= sa.8 SRCS= main.c pdb.c usrdb.c -WARNS?= 4 +WARNS?= 6 .include <bsd.prog.mk> diff --git a/usr.sbin/sa/main.c b/usr.sbin/sa/main.c index fe7de23..5dc4506 100644 --- a/usr.sbin/sa/main.c +++ b/usr.sbin/sa/main.c @@ -372,8 +372,7 @@ acct_load(pn, wr) } static u_quad_t -decode_comp_t(comp) - comp_t comp; +decode_comp_t(comp_t comp) { u_quad_t rv; |