summaryrefslogtreecommitdiff
path: root/sys/ddb/db_output.c
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>1996-01-23 21:17:59 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>1996-01-23 21:17:59 +0000
commitd7c0e66f38e470adf26aec5073817bdf053eb81c (patch)
tree88b2dcad621ea818a3ecb64fb7abe5f8a38b53a2 /sys/ddb/db_output.c
parent216f442d130ea1dcd8d8b3f0433795c041df9f88 (diff)
Notes
Diffstat (limited to 'sys/ddb/db_output.c')
-rw-r--r--sys/ddb/db_output.c26
1 files changed, 1 insertions, 25 deletions
diff --git a/sys/ddb/db_output.c b/sys/ddb/db_output.c
index a4dfe8294cbf..dec12ebda818 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);
-}