Move HEXDIGIT to mvme68k's sboot. It seems to be the only user.

Save a byte by explicitly specifying the size.
This commit is contained in:
joerg 2011-02-25 00:17:35 +00:00
parent b6ccfb3a6f
commit 36ed38c29f
3 changed files with 4 additions and 5 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: etherfun.c,v 1.10 2011/02/02 17:53:41 chuck Exp $ */
/* $NetBSD: etherfun.c,v 1.11 2011/02/25 00:17:35 joerg Exp $ */
/*
* Copyright (c) 1995 Charles D. Cranor and Seth Widoff
@ -90,6 +90,7 @@ rev_arp(void)
/* Send a tftp read request or acknowledgement
mesgtype 0 is a read request, 1 is an aknowledgement */
static const char HEXDIGITS[16] = "0123456789ABCDEF";
void
do_send_tftp(int mesgtype)

View File

@ -1,4 +1,4 @@
/* $NetBSD: stand.h,v 1.70 2010/12/24 23:12:28 christos Exp $ */
/* $NetBSD: stand.h,v 1.71 2011/02/25 00:17:36 joerg Exp $ */
/*
* Copyright (c) 1999 Christopher G. Demetriou. All rights reserved.
@ -285,7 +285,6 @@ ssize_t oread(int, void *, size_t);
off_t olseek(int, off_t, int);
#endif
extern const char HEXDIGITS[];
extern const char hexdigits[];
/* XXX: These should be removed eventually. */

View File

@ -1,4 +1,4 @@
/* $NetBSD: subr_prf.c,v 1.17 2010/01/19 15:26:45 tsutsui Exp $ */
/* $NetBSD: subr_prf.c,v 1.18 2011/02/25 00:17:36 joerg Exp $ */
/*-
* Copyright (c) 1993
@ -66,7 +66,6 @@ static void kdoprnt(void (*)(int), const char *, va_list);
static char *sbuf, *ebuf;
const char HEXDIGITS[] = "0123456789ABCDEF";
const char hexdigits[] = "0123456789abcdef";
#define LONG 0x01