summaryrefslogtreecommitdiffstats
path: root/sys/ddb/db_output.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1995-11-29 10:25:50 +0000
committerphk <phk@FreeBSD.org>1995-11-29 10:25:50 +0000
commit6056f81916a007badc44587b720c1bc308265cae (patch)
tree04a837dcdadd73fa6cc99eaeb902219e812b9833 /sys/ddb/db_output.c
parent051ce4c479c45d09eeaf7abcee957e6330406458 (diff)
downloadFreeBSD-src-6056f81916a007badc44587b720c1bc308265cae.zip
FreeBSD-src-6056f81916a007badc44587b720c1bc308265cae.tar.gz
Staticized and '#ifdef notused' stuff we don't use.
Diffstat (limited to 'sys/ddb/db_output.c')
-rw-r--r--sys/ddb/db_output.c18
1 files changed, 3 insertions, 15 deletions
diff --git a/sys/ddb/db_output.c b/sys/ddb/db_output.c
index a5e6a5b..c512092 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.11 1995/05/30 07:57:02 rgrimes Exp $
+ * $Id: db_output.c,v 1.12 1995/11/24 14:13:38 bde Exp $
*/
/*
@@ -54,8 +54,8 @@
* don't print trailing spaces. This avoids most
* of the wraparounds.
*/
-int db_output_position = 0; /* output column */
-int db_last_non_space = 0; /* last non-space character */
+static int db_output_position = 0; /* output column */
+static int db_last_non_space = 0; /* last non-space character */
int db_tab_stop_width = 8; /* how wide are tab stops? */
#define NEXT_TAB(i) \
((((i) + db_tab_stop_width) / db_tab_stop_width) * db_tab_stop_width)
@@ -157,18 +157,6 @@ db_printf(const char *fmt, ...)
va_end(listp);
}
-/* alternate name */
-
-/*VARARGS1*/
-void
-kdbprintf(const char *fmt, ...)
-{
- va_list listp;
- va_start(listp, fmt);
- db_printf_guts (fmt, listp);
- va_end(listp);
-}
-
/*
* End line if too long.
*/
OpenPOWER on IntegriCloud