diff options
author | phk <phk@FreeBSD.org> | 1996-01-23 21:17:59 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1996-01-23 21:17:59 +0000 |
commit | 5a1d479ab0d3101c4a083389a37b6cfef36e9986 (patch) | |
tree | 88b2dcad621ea818a3ecb64fb7abe5f8a38b53a2 /sys/ddb | |
parent | 30e801a17902bb0757f8d7507cf73eb1fb633e74 (diff) | |
download | FreeBSD-src-5a1d479ab0d3101c4a083389a37b6cfef36e9986.zip FreeBSD-src-5a1d479ab0d3101c4a083389a37b6cfef36e9986.tar.gz |
Remove some now unused printfoids.
Diffstat (limited to 'sys/ddb')
-rw-r--r-- | sys/ddb/db_output.c | 26 |
1 files changed, 1 insertions, 25 deletions
diff --git a/sys/ddb/db_output.c b/sys/ddb/db_output.c index a4dfe82..dec12eb 100644 --- a/sys/ddb/db_output.c +++ b/sys/ddb/db_output.c @@ -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); -} |