No need to have 2 declarations for the same constant string, one for K&R and

one for STDC...
This commit is contained in:
christos 1996-10-16 14:51:24 +00:00
parent fd8c99438e
commit 10a76271de
1 changed files with 4 additions and 8 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: output.c,v 1.15 1995/09/14 16:19:06 jtc Exp $ */
/* $NetBSD: output.c,v 1.16 1996/10/16 14:51:24 christos Exp $ */
/*-
* Copyright (c) 1991, 1993
@ -40,7 +40,7 @@
#if 0
static char sccsid[] = "@(#)output.c 8.2 (Berkeley) 5/4/95";
#else
static char rcsid[] = "$NetBSD: output.c,v 1.15 1995/09/14 16:19:06 jtc Exp $";
static char rcsid[] = "$NetBSD: output.c,v 1.16 1996/10/16 14:51:24 christos Exp $";
#endif
#endif /* not lint */
@ -353,11 +353,7 @@ fmtstr(va_alist)
#define TEMPSIZE 24
#ifdef __STDC__
static const char digit[16] = "0123456789ABCDEF";
#else
static const char digit[17] = "0123456789ABCDEF";
#endif
static const char digit[] = "0123456789ABCDEF";
void