diff options
| author | Bruce Evans <bde@FreeBSD.org> | 1997-04-01 14:31:06 +0000 |
|---|---|---|
| committer | Bruce Evans <bde@FreeBSD.org> | 1997-04-01 14:31:06 +0000 |
| commit | b9478d127ee626c78bd6fe76db6f3f620cc079c7 (patch) | |
| tree | 403ad136b9ec9639a47d6e54debc0d4cc8742f3a | |
| parent | 1f45d4d4ebc22f766cdd77d84f0a5c431f3c8d3b (diff) | |
Notes
| -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 cfceb15c2c99..59304f465539 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 4b0451dea72d..7a0777c9a582 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 4d4b67f431c5..d0bb093fa2e8 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; |
