Fixed gratuitous ANSIisms.
This commit is contained in:
parent
1f45d4d4eb
commit
b9478d127e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=24490
@ -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,
|
||||
|
@ -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.
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user