diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2005-04-11 01:50:08 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2005-04-11 01:50:08 +0000 |
commit | b8cc4d094d3af9003f0b38277371af37caa7f91a (patch) | |
tree | 59be80c064013164c78c92f6d446ce1f5d5ce4d6 /sys | |
parent | 3f7bf3201f45d0f1885034d17deaf852a1c9b87e (diff) |
Kill unused hexatoi()
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/sparc/sparc/autoconf.c | 13 |
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; -} |