Remove some now unused printfoids.

This commit is contained in:
Poul-Henning Kamp 1996-01-23 21:17:59 +00:00
parent 216f442d13
commit d7c0e66f38
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=13594

View File

@ -23,7 +23,7 @@
* any improvements or extensions that they make and grant Carnegie the
* rights to redistribute these changes.
*
* $Id: db_output.c,v 1.15 1995/12/10 19:08:03 bde Exp $
* $Id: db_output.c,v 1.16 1996/01/15 22:39:35 phk Exp $
*/
/*
@ -63,9 +63,6 @@ int db_tab_stop_width = 8; /* how wide are tab stops? */
((((i) + db_tab_stop_width) / db_tab_stop_width) * db_tab_stop_width)
int db_max_width = 80; /* output line width */
static char *db_ksprintn __P((u_long ul, int base, int *lenp));
static void db_printf_guts __P((const char *, va_list));
/*
* Force pending whitespace.
*/
@ -169,24 +166,3 @@ db_end_line()
db_printf("\n");
}
/*
* Put a number (base <= 16) in a buffer in reverse order; return an
* optional length and a pointer to the NULL terminated (preceded?)
* buffer.
*/
static char *
db_ksprintn(ul, base, lenp)
register u_long ul;
register int base, *lenp;
{ /* A long in base 8, plus NULL. */
static char buf[sizeof(long) * NBBY / 3 + 2];
register char *p;
p = buf;
do {
*++p = "0123456789abcdef"[ul % base];
} while (ul /= base);
if (lenp)
*lenp = p - buf;
return (p);
}