aboutsummaryrefslogtreecommitdiff
path: root/sys/ddb/db_output.c
diff options
context:
space:
mode:
authorGary Palmer <gpalmer@FreeBSD.org>1996-05-08 04:29:08 +0000
committerGary Palmer <gpalmer@FreeBSD.org>1996-05-08 04:29:08 +0000
commit6ddbf1e299be72c5a9aefd61feefea91b16eafa7 (patch)
tree273ffb1ff648a1d501fa53a37f56803c19399e9f /sys/ddb/db_output.c
parent9fb933075efacc206d4968ca872ad7ea94349ba4 (diff)
downloadsrc-6ddbf1e299be72c5a9aefd61feefea91b16eafa7.tar.gz
src-6ddbf1e299be72c5a9aefd61feefea91b16eafa7.zip
Clean up various compiler warnings. Most (if not all) were benign
Reviewed by: bde
Notes
Notes: svn path=/head/; revision=15680
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 dec12ebda818..fd12dd8acac0 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 <= '~') {
/*