summaryrefslogtreecommitdiff
path: root/sys/ddb
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1996-07-24 21:58:05 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1996-07-24 21:58:05 +0000
commitcae2643c82c421fa923316e51ad76bf3e8d88ff5 (patch)
tree58f82ea76ae35b363afffb48d66c2230a315255e /sys/ddb
parent2b51dd5e20e24c21acbd4448de2ca95dc384fc50 (diff)
printf style functions now are int, explicitly return 0
Diffstat (limited to 'sys/ddb')
-rw-r--r--sys/ddb/db_output.c6
-rw-r--r--sys/ddb/db_output.h4
2 files changed, 6 insertions, 4 deletions
diff --git a/sys/ddb/db_output.c b/sys/ddb/db_output.c
index e6839633d4e..490954eeae3 100644
--- a/sys/ddb/db_output.c
+++ b/sys/ddb/db_output.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: db_output.c,v 1.6 1996/07/23 23:54:27 deraadt Exp $ */
+/* $OpenBSD: db_output.c,v 1.7 1996/07/24 21:58:03 niklas Exp $ */
/* $NetBSD: db_output.c,v 1.13 1996/04/01 17:27:14 christos Exp $ */
/*
@@ -214,12 +214,13 @@ db_printf(fmt, va_alist)
va_start(listp, fmt);
db_printf_guts (fmt, listp);
va_end(listp);
+ return 0;
}
/* alternate name */
/*VARARGS1*/
-void
+int
#if __STDC__
kdbprintf(const char *fmt, ...)
#else
@@ -232,6 +233,7 @@ kdbprintf(fmt, va_alist)
va_start(listp, fmt);
db_printf_guts (fmt, listp);
va_end(listp);
+ return 0;
}
/*
diff --git a/sys/ddb/db_output.h b/sys/ddb/db_output.h
index e4792ef5cec..58ed3e49d3a 100644
--- a/sys/ddb/db_output.h
+++ b/sys/ddb/db_output.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: db_output.h,v 1.6 1996/07/23 23:54:28 deraadt Exp $ */
+/* $OpenBSD: db_output.h,v 1.7 1996/07/24 21:58:04 niklas Exp $ */
/* $NetBSD: db_output.h,v 1.9 1996/04/04 05:13:50 cgd Exp $ */
/*
@@ -38,6 +38,6 @@ void db_putchar __P((int));
int db_print_position __P((void));
int db_printf __P((const char *, ...))
__kprintf_attribute__((__format__(__kprintf__,1,2)));
-void kdbprintf __P((const char *, ...))
+int kdbprintf __P((const char *, ...))
__kprintf_attribute__((__format__(__kprintf__,1,2)));
void db_end_line __P((void));