summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2004-09-15 22:20:03 +0000
committerderaadt <deraadt@openbsd.org>2004-09-15 22:20:03 +0000
commit6c686fc5c0e7db2eec253112560d17bc8ab5a5da (patch)
tree665daa9ab238dd4d6b82492ee37e4e74203da86b
parentsize_t vs ssize_t confusion (diff)
downloadwireguard-openbsd-6c686fc5c0e7db2eec253112560d17bc8ab5a5da.tar.xz
wireguard-openbsd-6c686fc5c0e7db2eec253112560d17bc8ab5a5da.zip
remove unused code
-rw-r--r--usr.bin/man/config.c18
-rw-r--r--usr.bin/man/config.h3
2 files changed, 3 insertions, 18 deletions
diff --git a/usr.bin/man/config.c b/usr.bin/man/config.c
index 6ee8727b7bf..bc944547a40 100644
--- a/usr.bin/man/config.c
+++ b/usr.bin/man/config.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: config.c,v 1.5 2003/11/09 23:00:04 millert Exp $ */
+/* $OpenBSD: config.c,v 1.6 2004/09/15 22:20:03 deraadt Exp $ */
/* $NetBSD: config.c,v 1.7 1995/09/28 06:05:21 tls Exp $ */
/*
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)config.c 8.8 (Berkeley) 1/31/95";
#else
-static char rcsid[] = "$OpenBSD: config.c,v 1.5 2003/11/09 23:00:04 millert Exp $";
+static char rcsid[] = "$OpenBSD: config.c,v 1.6 2004/09/15 22:20:03 deraadt Exp $";
#endif
#endif /* not lint */
@@ -161,17 +161,3 @@ getlist(char *name)
return (tp);
return (NULL);
}
-
-void
-debug(char *l)
-{
- TAG *tp;
- ENTRY *ep;
-
- (void)printf("%s ===============\n", l);
- for (tp = head.tqh_first; tp != NULL; tp = tp->q.tqe_next) {
- printf("%s\n", tp->s);
- for (ep = tp->list.tqh_first; ep != NULL; ep = ep->q.tqe_next)
- printf("\t%s\n", ep->s);
- }
-}
diff --git a/usr.bin/man/config.h b/usr.bin/man/config.h
index 85eb9dd107e..dc53172667d 100644
--- a/usr.bin/man/config.h
+++ b/usr.bin/man/config.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: config.h,v 1.4 2003/06/04 16:08:08 deraadt Exp $ */
+/* $OpenBSD: config.h,v 1.5 2004/09/15 22:20:03 deraadt Exp $ */
/* $NetBSD: config.h,v 1.2 1995/09/28 06:05:28 tls Exp $ */
/*-
@@ -52,5 +52,4 @@ extern struct _head head;
TAG *addlist(char *);
void config(char *);
-void debug(char *);
TAG *getlist(char *);