diff options
author | bde <bde@FreeBSD.org> | 1997-04-01 14:31:06 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1997-04-01 14:31:06 +0000 |
commit | 5ba45e8d336f82d82996477121322c519415112f (patch) | |
tree | b60b76faa7633acfab9e0c4462e40e4404ff1a9f /sys/ddb | |
parent | 68052e6de3b1e9b5ba9a171ddf0d7375d60b6f3f (diff) | |
download | FreeBSD-src-5ba45e8d336f82d82996477121322c519415112f.zip FreeBSD-src-5ba45e8d336f82d82996477121322c519415112f.tar.gz |
Fixed gratuitous ANSIisms.
Diffstat (limited to 'sys/ddb')
-rw-r--r-- | sys/ddb/db_aout.c | 4 | ||||
-rw-r--r-- | sys/ddb/db_examine.c | 7 | ||||
-rw-r--r-- | sys/ddb/db_output.c | 12 |
3 files changed, 16 insertions, 7 deletions
diff --git a/sys/ddb/db_aout.c b/sys/ddb/db_aout.c index cfceb15..59304f4 100644 --- a/sys/ddb/db_aout.c +++ b/sys/ddb/db_aout.c @@ -23,7 +23,7 @@ * any improvements or extensions that they make and grant Carnegie the * rights to redistribute these changes. * - * $Id$ + * $Id: db_aout.c,v 1.17 1997/02/22 09:28:19 peter Exp $ */ /* @@ -322,7 +322,7 @@ X_db_sym_numargs(symtab, cursym, nargp, argnamep) * Initialization routine for a.out files. */ void -kdb_init(void) +kdb_init() { if (bootinfo.bi_esymtab != bootinfo.bi_symtab) X_db_sym_init((int *)bootinfo.bi_symtab, diff --git a/sys/ddb/db_examine.c b/sys/ddb/db_examine.c index 4b0451d..7a0777c 100644 --- a/sys/ddb/db_examine.c +++ b/sys/ddb/db_examine.c @@ -23,7 +23,7 @@ * any improvements or extensions that they make and grant Carnegie the * rights to redistribute these changes. * - * $Id$ + * $Id: db_examine.c,v 1.16 1997/02/22 09:28:22 peter Exp $ */ /* @@ -31,7 +31,6 @@ * Date: 7/90 */ #include <sys/param.h> -#include <sys/systm.h> #include <ddb/ddb.h> @@ -43,8 +42,8 @@ static char db_examine_format[TOK_STRING_SIZE] = "x"; -static void db_examine(db_addr_t, char *, int); -static void db_search(db_addr_t, int, db_expr_t, db_expr_t, u_int); +static void db_examine __P((db_addr_t, char *, int)); +static void db_search __P((db_addr_t, int, db_expr_t, db_expr_t, u_int)); /* * Examine (print) data. diff --git a/sys/ddb/db_output.c b/sys/ddb/db_output.c index 4d4b67f..d0bb093 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$ + * $Id: db_output.c,v 1.21 1997/02/22 09:28:26 peter Exp $ */ /* @@ -151,7 +151,12 @@ db_print_position() * Printing */ void +#if __STDC__ db_printf(const char *fmt, ...) +#else +db_printf(fmt) + const char *fmt; +#endif { va_list listp; @@ -163,7 +168,12 @@ db_printf(const char *fmt, ...) int db_indent; void +#if __STDC__ db_iprintf(const char *fmt,...) +#else +db_iprintf(fmt) + const char *fmt; +#endif { register int i; va_list listp; |