diff options
author | Jason Downs <downsj@cvs.openbsd.org> | 1997-07-06 04:07:12 +0000 |
---|---|---|
committer | Jason Downs <downsj@cvs.openbsd.org> | 1997-07-06 04:07:12 +0000 |
commit | 1377e1a824ff32aa9bf8b6d3f0eba50fa581801a (patch) | |
tree | 192b3346c4dbb0cfabd7da6caf84402d893584e5 | |
parent | 23edd72b858f60176cbb3ec7ebd8ab078ecc823c (diff) |
-Wall happiness
-rw-r--r-- | usr.sbin/config/main.c | 3 | ||||
-rw-r--r-- | usr.sbin/config/mkheaders.c | 5 | ||||
-rw-r--r-- | usr.sbin/config/mkioconf.c | 3 |
3 files changed, 4 insertions, 7 deletions
diff --git a/usr.sbin/config/main.c b/usr.sbin/config/main.c index dbc9c7ae811..4a335c0b572 100644 --- a/usr.sbin/config/main.c +++ b/usr.sbin/config/main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: main.c,v 1.14 1997/07/06 03:54:05 downsj Exp $ */ +/* $OpenBSD: main.c,v 1.15 1997/07/06 04:07:09 downsj Exp $ */ /* $NetBSD: main.c,v 1.22 1997/02/02 21:12:33 thorpej Exp $ */ /* @@ -569,7 +569,6 @@ void setupdirs() { struct stat st; - char *prof; /* srcdir must be specified if builddir is not specified or if * no configuration filename was specified. */ diff --git a/usr.sbin/config/mkheaders.c b/usr.sbin/config/mkheaders.c index 18e532deca4..2f2b61487af 100644 --- a/usr.sbin/config/mkheaders.c +++ b/usr.sbin/config/mkheaders.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mkheaders.c,v 1.5 1997/07/06 03:54:05 downsj Exp $ */ +/* $OpenBSD: mkheaders.c,v 1.6 1997/07/06 04:07:10 downsj Exp $ */ /* $NetBSD: mkheaders.c,v 1.12 1997/02/02 21:12:34 thorpej Exp $ */ /* @@ -132,8 +132,7 @@ emitopt(nv) { struct nvlist *option; char new_contents[BUFSIZ], buf[BUFSIZ]; - char fname[BUFSIZ], *p, c; - const char *n; + char fname[BUFSIZ], *p; int nlines; FILE *fp; diff --git a/usr.sbin/config/mkioconf.c b/usr.sbin/config/mkioconf.c index a6f00ba9954..a2988b003c0 100644 --- a/usr.sbin/config/mkioconf.c +++ b/usr.sbin/config/mkioconf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mkioconf.c,v 1.9 1997/02/03 13:59:43 maja Exp $ */ +/* $OpenBSD: mkioconf.c,v 1.10 1997/07/06 04:07:11 downsj Exp $ */ /* $NetBSD: mkioconf.c,v 1.41 1996/11/11 14:18:49 mycroft Exp $ */ /* @@ -64,7 +64,6 @@ static int emitlocnames __P((FILE *)); static int emitpseudo __P((FILE *)); static int emitpv __P((FILE *)); static int emitroots __P((FILE *)); -static char *vecname __P((char *, const char *, int)); #define SEP(pos, max) (((u_int)(pos) % (max)) == 0 ? "\n\t" : " ") |