diff options
author | 2003-06-10 22:20:44 +0000 | |
---|---|---|
committer | 2003-06-10 22:20:44 +0000 | |
commit | 1837a5ca509d93cac77d2e89322c0c4869f9215d (patch) | |
tree | 52dbe14a25e44bdf8161f4c51f39a50c072fe221 /usr.bin/units/units.c | |
parent | It would kind of help if the flags member was initialized, otherwise random (diff) | |
download | wireguard-openbsd-1837a5ca509d93cac77d2e89322c0c4869f9215d.tar.xz wireguard-openbsd-1837a5ca509d93cac77d2e89322c0c4869f9215d.zip |
mostly ansi cleanup; pval ok
Diffstat (limited to 'usr.bin/units/units.c')
-rw-r--r-- | usr.bin/units/units.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/units/units.c b/usr.bin/units/units.c index 3a2c708722c..b1dbd99e165 100644 --- a/usr.bin/units/units.c +++ b/usr.bin/units/units.c @@ -1,4 +1,4 @@ -/* $OpenBSD: units.c,v 1.7 2001/01/17 19:29:49 deraadt Exp $ */ +/* $OpenBSD: units.c,v 1.8 2003/06/10 22:20:53 deraadt Exp $ */ /* $NetBSD: units.c,v 1.6 1996/04/06 06:01:03 thorpej Exp $ */ /* @@ -273,7 +273,7 @@ showunit(struct unittype * theunit) void -zeroerror() +zeroerror(void) { fprintf(stderr, "Unit reduces to zero\n"); } @@ -615,7 +615,7 @@ showanswer(struct unittype * have, struct unittype * want) void -usage() +usage(void) { fprintf(stderr, "units [-f unitsfile] [-q] [-v] [from-unit to-unit]\n"); fprintf(stderr, " -f specify units file\n"); |