Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/lib/libsa Provide HEXDIGITS as well (needed on mvme68k/s...



details:   https://anonhg.NetBSD.org/src/rev/65e8812bf04a
branches:  trunk
changeset: 581075:65e8812bf04a
user:      jmc <jmc%NetBSD.org@localhost>
date:      Mon May 23 19:05:00 2005 +0000

description:
Provide HEXDIGITS as well (needed on mvme68k/stand)

diffstat:

 sys/lib/libsa/stand.h    |  3 ++-
 sys/lib/libsa/subr_prf.c |  3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diffs (34 lines):

diff -r 06d3b685dd92 -r 65e8812bf04a sys/lib/libsa/stand.h
--- a/sys/lib/libsa/stand.h     Mon May 23 17:49:48 2005 +0000
+++ b/sys/lib/libsa/stand.h     Mon May 23 19:05:00 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: stand.h,v 1.55 2005/05/17 04:14:58 christos Exp $      */
+/*     $NetBSD: stand.h,v 1.56 2005/05/23 19:05:00 jmc Exp $   */
 
 /*
  * Copyright (c) 1999 Christopher G. Demetriou.  All rights reserved.
@@ -282,6 +282,7 @@
 off_t  olseek(int, off_t, int);
 #endif
 
+extern const char HEXDIGITS[];
 extern const char hexdigits[];
 
 #endif /* _LIBSA_STAND_H_ */
diff -r 06d3b685dd92 -r 65e8812bf04a sys/lib/libsa/subr_prf.c
--- a/sys/lib/libsa/subr_prf.c  Mon May 23 17:49:48 2005 +0000
+++ b/sys/lib/libsa/subr_prf.c  Mon May 23 19:05:00 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: subr_prf.c,v 1.11 2005/05/17 04:14:58 christos Exp $   */
+/*     $NetBSD: subr_prf.c,v 1.12 2005/05/23 19:05:00 jmc Exp $        */
 
 /*-
  * Copyright (c) 1993
@@ -47,6 +47,7 @@
 
 static char *sbuf, *ebuf;
 
+const char HEXDIGITS[] = "0123456789ABCDEF";
 const char hexdigits[] = "0123456789abcdef";
 
 static void



Home | Main Index | Thread Index | Old Index