diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2004-01-22 17:47:30 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2004-01-22 17:47:30 +0000 |
commit | b47066104ff0011b69898e816b837558c15dda1f (patch) | |
tree | d34a654b493a98ff0aea95583e6f281cdaed62f4 /sys/arch | |
parent | af562b21df90858ec607924c46766eacad3d1ac2 (diff) |
dot_conv() is not used.
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/alpha/alpha/machdep.c | 24 | ||||
-rw-r--r-- | sys/arch/alpha/include/cpu.h | 3 |
2 files changed, 2 insertions, 25 deletions
diff --git a/sys/arch/alpha/alpha/machdep.c b/sys/arch/alpha/alpha/machdep.c index 1c4f30c35c9..c864042f82f 100644 --- a/sys/arch/alpha/alpha/machdep.c +++ b/sys/arch/alpha/alpha/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.84 2003/11/08 06:11:11 nordin Exp $ */ +/* $OpenBSD: machdep.c,v 1.85 2004/01/22 17:47:27 miod Exp $ */ /* $NetBSD: machdep.c,v 1.210 2000/06/01 17:12:38 thorpej Exp $ */ /*- @@ -2133,25 +2133,3 @@ alpha_XXX_dmamap(v) /* XXX */ return (vtophys(v) | alpha_XXX_dmamap_or); /* XXX */ } /* XXX */ /* XXX XXX END XXX XXX */ - -char * -dot_conv(x) - unsigned long x; -{ - int i; - char *xc; - static int next; - static char space[2][20]; - - xc = space[next ^= 1] + sizeof space[0]; - *--xc = '\0'; - for (i = 0;; ++i) { - if (i && (i & 3) == 0) - *--xc = '.'; - *--xc = "0123456789abcdef"[x & 0xf]; - x >>= 4; - if (x == 0) - break; - } - return xc; -} diff --git a/sys/arch/alpha/include/cpu.h b/sys/arch/alpha/include/cpu.h index 41052e647f6..d2d6e209c27 100644 --- a/sys/arch/alpha/include/cpu.h +++ b/sys/arch/alpha/include/cpu.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cpu.h,v 1.21 2003/06/02 23:27:43 millert Exp $ */ +/* $OpenBSD: cpu.h,v 1.22 2004/01/22 17:47:29 miod Exp $ */ /* $NetBSD: cpu.h,v 1.45 2000/08/21 02:03:12 thorpej Exp $ */ /*- @@ -154,7 +154,6 @@ void trap(unsigned long, unsigned long, unsigned long, unsigned long, struct trapframe *); void trap_init(void); void enable_nsio_ide(bus_space_tag_t); -char * dot_conv(unsigned long); void release_fpu(int); void synchronize_fpstate(struct proc *, int); |