remove local prototypes of printk.
This commit is contained in:
parent
457b7ee79b
commit
80d547c255
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: xen_machdep.c,v 1.8 2005/05/26 13:54:43 bouyer Exp $ */
|
||||
/* $NetBSD: xen_machdep.c,v 1.9 2005/05/31 12:44:29 yamt Exp $ */
|
||||
|
||||
/*
|
||||
*
|
||||
|
@ -33,7 +33,7 @@
|
|||
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: xen_machdep.c,v 1.8 2005/05/26 13:54:43 bouyer Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: xen_machdep.c,v 1.9 2005/05/31 12:44:29 yamt Exp $");
|
||||
|
||||
#include "opt_xen.h"
|
||||
|
||||
|
@ -60,7 +60,6 @@ static char XBUF[256];
|
|||
#define XENPRINTK(x)
|
||||
#define XENPRINTK2(x)
|
||||
#endif
|
||||
void printk(char *, ...);
|
||||
#define PRINTF(x) printf x
|
||||
#define PRINTK(x) printk x
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: ctrl_if.c,v 1.8 2005/04/20 22:01:24 bouyer Exp $ */
|
||||
/* $NetBSD: ctrl_if.c,v 1.9 2005/05/31 12:44:29 yamt Exp $ */
|
||||
|
||||
/******************************************************************************
|
||||
* ctrl_if.c
|
||||
|
@ -9,7 +9,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: ctrl_if.c,v 1.8 2005/04/20 22:01:24 bouyer Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: ctrl_if.c,v 1.9 2005/05/31 12:44:29 yamt Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
|
@ -22,7 +22,6 @@ __KERNEL_RCSID(0, "$NetBSD: ctrl_if.c,v 1.8 2005/04/20 22:01:24 bouyer Exp $");
|
|||
#include <machine/ctrl_if.h>
|
||||
#include <machine/evtchn.h>
|
||||
|
||||
void printk(char *, ...);
|
||||
#if 0
|
||||
#define DPRINTK(_f, _a...) printk("(file=%s, line=%d) " _f, \
|
||||
__FILE__ , __LINE__ , ## _a )
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: if_xennet.c,v 1.25 2005/05/26 13:54:43 bouyer Exp $ */
|
||||
/* $NetBSD: if_xennet.c,v 1.26 2005/05/31 12:44:29 yamt Exp $ */
|
||||
|
||||
/*
|
||||
*
|
||||
|
@ -33,7 +33,7 @@
|
|||
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_xennet.c,v 1.25 2005/05/26 13:54:43 bouyer Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_xennet.c,v 1.26 2005/05/31 12:44:29 yamt Exp $");
|
||||
|
||||
#include "opt_inet.h"
|
||||
#include "rnd.h"
|
||||
|
@ -107,7 +107,6 @@ __KERNEL_RCSID(0, "$NetBSD: if_xennet.c,v 1.25 2005/05/26 13:54:43 bouyer Exp $"
|
|||
#define XEDB_MBUF 0x08
|
||||
#define XEDB_MEM 0x10
|
||||
int xennet_debug = 0x0;
|
||||
void printk(char *, ...);
|
||||
#define DPRINTF(x) if (xennet_debug) printk x;
|
||||
#define DPRINTFN(n,x) if (xennet_debug & (n)) printk x;
|
||||
#else
|
||||
|
|
Loading…
Reference in New Issue