summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2005-04-11 01:50:07 +0000
committermiod <miod@openbsd.org>2005-04-11 01:50:07 +0000
commit216c3bf375698f1a1ef28a920e7ff11827d7b21c (patch)
tree0353e5cd09063dd3b731970e1e4ae4899dab3cb8
parentHandle commands failure correctly. (diff)
downloadwireguard-openbsd-216c3bf375698f1a1ef28a920e7ff11827d7b21c.tar.xz
wireguard-openbsd-216c3bf375698f1a1ef28a920e7ff11827d7b21c.zip
Kill unused hexatoi()
-rw-r--r--sys/arch/sparc/sparc/autoconf.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/sys/arch/sparc/sparc/autoconf.c b/sys/arch/sparc/sparc/autoconf.c
index a79e80175d1..d0c82ab803f 100644
--- a/sys/arch/sparc/sparc/autoconf.c
+++ b/sys/arch/sparc/sparc/autoconf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: autoconf.c,v 1.64 2005/03/23 17:10:24 miod Exp $ */
+/* $OpenBSD: autoconf.c,v 1.65 2005/04/11 01:50:07 miod Exp $ */
/* $NetBSD: autoconf.c,v 1.73 1997/07/29 09:41:53 fair Exp $ */
/*
@@ -1597,8 +1597,6 @@ nextsibling(node)
return (promvec->pv_nodeops->no_nextnode(node));
}
-u_int hexatoi(const char *);
-
/* The following recursively searches a PROM tree for a given node */
int
search_prom(rootnode, name)
@@ -2160,12 +2158,3 @@ getdevunit(name, unit)
}
return dev;
}
-
-u_int
-hexatoi(nptr) /* atoi assuming hex, no 0x */
- const char *nptr;
-{
- u_int retval;
- str2hex((char *)nptr, &retval);
- return retval;
-}