diff options
author | deraadt <deraadt@openbsd.org> | 1996-08-29 03:33:05 +0000 |
---|---|---|
committer | deraadt <deraadt@openbsd.org> | 1996-08-29 03:33:05 +0000 |
commit | a071560580b302c1d010c5e75a510b885e6dbb81 (patch) | |
tree | ffe053b09679f09155bc71e9ea18b134d6e5dc69 /usr.sbin/config/files.c | |
parent | int main (diff) | |
download | wireguard-openbsd-a071560580b302c1d010c5e75a510b885e6dbb81.tar.xz wireguard-openbsd-a071560580b302c1d010c5e75a510b885e6dbb81.zip |
fix some warnings and errors
Diffstat (limited to 'usr.sbin/config/files.c')
-rw-r--r-- | usr.sbin/config/files.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.sbin/config/files.c b/usr.sbin/config/files.c index ac2f302cf51..0dc14a154a4 100644 --- a/usr.sbin/config/files.c +++ b/usr.sbin/config/files.c @@ -1,4 +1,4 @@ -/* $OpenBSD: files.c,v 1.4 1996/04/21 23:40:09 deraadt Exp $ */ +/* $OpenBSD: files.c,v 1.5 1996/08/29 03:33:05 deraadt Exp $ */ /* $NetBSD: files.c,v 1.6 1996/03/17 13:18:17 cgd Exp $ */ /* @@ -84,6 +84,7 @@ initfiles() unchecked = &allfiles; } +#if 0 static void showprev(pref, fi) const char *pref; @@ -94,6 +95,7 @@ showprev(pref, fi) "%sfile %s ...", pref, fi->fi_path); errors--; } +#endif void addfile(path, optx, flags, rule) @@ -175,7 +177,7 @@ void checkfiles() { register struct files *fi, *last; - register struct nvlist *nv; + /*register struct nvlist *nv;*/ last = NULL; for (fi = *unchecked; fi != NULL; last = fi, fi = fi->fi_next) |