diff options
author | dholland <dholland@NetBSD.org> | 2009-06-07 18:30:39 +0000 |
---|---|---|
committer | dholland <dholland@NetBSD.org> | 2009-06-07 18:30:39 +0000 |
commit | b462731cbc1198051cd39ad2f95b1027e441067d (patch) | |
tree | 4e0259e65c33c841ba5dab75f3dac3a6b5ff2316 /hack/hack.options.c | |
parent | 61a762274b6c7fc952ab3500cf1eca3436206334 (diff) | |
download | bsdgames-darwin-b462731cbc1198051cd39ad2f95b1027e441067d.tar.gz bsdgames-darwin-b462731cbc1198051cd39ad2f95b1027e441067d.tar.zst bsdgames-darwin-b462731cbc1198051cd39ad2f95b1027e441067d.zip |
ANSIfy function declarations. All object file diffs inspected.
Diffstat (limited to 'hack/hack.options.c')
-rw-r--r-- | hack/hack.options.c | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/hack/hack.options.c b/hack/hack.options.c index ea55cb81..b03454aa 100644 --- a/hack/hack.options.c +++ b/hack/hack.options.c @@ -1,4 +1,4 @@ -/* $NetBSD: hack.options.c,v 1.7 2004/01/01 16:02:51 jsm Exp $ */ +/* $NetBSD: hack.options.c,v 1.8 2009/06/07 18:30:39 dholland Exp $ */ /* * Copyright (c) 1985, Stichting Centrum voor Wiskunde en Informatica, @@ -63,7 +63,7 @@ #include <sys/cdefs.h> #ifndef lint -__RCSID("$NetBSD: hack.options.c,v 1.7 2004/01/01 16:02:51 jsm Exp $"); +__RCSID("$NetBSD: hack.options.c,v 1.8 2009/06/07 18:30:39 dholland Exp $"); #endif /* not lint */ #include <stdlib.h> @@ -72,7 +72,7 @@ __RCSID("$NetBSD: hack.options.c,v 1.7 2004/01/01 16:02:51 jsm Exp $"); #include "extern.h" void -initoptions() +initoptions(void) { char *opts; @@ -89,9 +89,7 @@ initoptions() } void -parseoptions(opts, from_env) - char *opts; - boolean from_env; +parseoptions(char *opts, boolean from_env) { char *op, *op2; unsigned num; @@ -237,7 +235,7 @@ bad: } int -doset() +doset(void) { char buf[BUFSZ]; |