Move #include <sys/param.h> that's included in both parts of an #if/#else
into one place outside the condition. From: Slava Semushin <php-coder@altlinux.ru>
This commit is contained in:
parent
7ab6344caa
commit
44ca4086fb
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: tp_cons.c,v 1.25 2007/03/04 06:03:32 christos Exp $ */
|
||||
/* $NetBSD: tp_cons.c,v 1.26 2007/03/26 22:49:22 hubertf Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1991, 1993
|
||||
@ -68,14 +68,14 @@ SOFTWARE.
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: tp_cons.c,v 1.25 2007/03/04 06:03:32 christos Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: tp_cons.c,v 1.26 2007/03/26 22:49:22 hubertf Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include "opt_iso.h"
|
||||
|
||||
#ifdef ISO
|
||||
#ifdef TPCONS
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/domain.h>
|
||||
@ -333,8 +333,6 @@ tpcons_output_dg(struct mbuf *m0, ...)
|
||||
}
|
||||
#else
|
||||
|
||||
#include <sys/param.h>
|
||||
|
||||
struct mbuf;
|
||||
|
||||
int tpcons_output (struct mbuf *m0, ...);
|
||||
|
Loading…
Reference in New Issue
Block a user