diff options
author | Poul-Henning Kamp <phk@FreeBSD.org> | 1995-11-29 10:25:50 +0000 |
---|---|---|
committer | Poul-Henning Kamp <phk@FreeBSD.org> | 1995-11-29 10:25:50 +0000 |
commit | f73a856d2385c41dae0d1bacc12bda6b031f47e7 (patch) | |
tree | 04a837dcdadd73fa6cc99eaeb902219e812b9833 /sys/ddb/db_output.c | |
parent | ad46e209d27a8f23c8e0e5e13bcc6177734df888 (diff) | |
download | src-f73a856d2385c41dae0d1bacc12bda6b031f47e7.tar.gz src-f73a856d2385c41dae0d1bacc12bda6b031f47e7.zip |
Staticized and '#ifdef notused' stuff we don't use.
Notes
Notes:
svn path=/head/; revision=12515
Diffstat (limited to 'sys/ddb/db_output.c')
-rw-r--r-- | sys/ddb/db_output.c | 18 |
1 files changed, 3 insertions, 15 deletions
diff --git a/sys/ddb/db_output.c b/sys/ddb/db_output.c index a5e6a5b685af..c512092d18c7 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. */ |