summaryrefslogtreecommitdiffstats
path: root/sys/ddb/db_output.c
diff options
context:
space:
mode:
authorgpalmer <gpalmer@FreeBSD.org>1996-05-08 04:29:08 +0000
committergpalmer <gpalmer@FreeBSD.org>1996-05-08 04:29:08 +0000
commitc79cc630ede15ddb8641deef1f5256d6296ae31b (patch)
tree273ffb1ff648a1d501fa53a37f56803c19399e9f /sys/ddb/db_output.c
parent9f795376b3921c04e5abe4bc29b1905e78ae2db2 (diff)
downloadFreeBSD-src-c79cc630ede15ddb8641deef1f5256d6296ae31b.zip
FreeBSD-src-c79cc630ede15ddb8641deef1f5256d6296ae31b.tar.gz
Clean up various compiler warnings. Most (if not all) were benign
Reviewed by: bde
Diffstat (limited to 'sys/ddb/db_output.c')
-rw-r--r--sys/ddb/db_output.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/sys/ddb/db_output.c b/sys/ddb/db_output.c
index dec12eb..fd12dd8 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.16 1996/01/15 22:39:35 phk Exp $
+ * $Id: db_output.c,v 1.17 1996/01/23 21:17:59 phk Exp $
*/
/*
@@ -63,6 +63,8 @@ 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 void db_putchar __P((int c, void *arg));
+
/*
* Force pending whitespace.
*/
@@ -91,9 +93,10 @@ db_force_whitespace()
/*
* Output character. Buffer whitespace.
*/
-void
-db_putchar(c)
+static void
+db_putchar(c, arg)
int c; /* character to output */
+ void * arg;
{
if (c > ' ' && c <= '~') {
/*
OpenPOWER on IntegriCloud