diff options
author | bde <bde@FreeBSD.org> | 1998-04-15 17:47:40 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1998-04-15 17:47:40 +0000 |
commit | b598f559b2947bb9582b53221185bb27d86cd68f (patch) | |
tree | f0a3b1121a7c68f5b6b630a3981fb3a4fbbc9c43 /sys/net | |
parent | 37b60f29dd0d528b8bc950b0b559f304b73db9ec (diff) | |
download | FreeBSD-src-b598f559b2947bb9582b53221185bb27d86cd68f.zip FreeBSD-src-b598f559b2947bb9582b53221185bb27d86cd68f.tar.gz |
Support compiling with `gcc -ansi'.
Diffstat (limited to 'sys/net')
-rw-r--r-- | sys/net/if_var.h | 6 | ||||
-rw-r--r-- | sys/net/ppp_tty.c | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/sys/net/if_var.h b/sys/net/if_var.h index b344119..69036d1 100644 --- a/sys/net/if_var.h +++ b/sys/net/if_var.h @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * From: @(#)if.h 8.1 (Berkeley) 6/10/93 - * $Id: if_var.h,v 1.5 1997/02/22 09:41:10 peter Exp $ + * $Id: if_var.h,v 1.6 1997/08/28 01:17:09 julian Exp $ */ #ifndef _NET_IF_VAR_H_ @@ -208,14 +208,14 @@ typedef void if_init_f_t __P((void *)); #define IF_ENQ_DROP(ifq, m) if_enq_drop(ifq, m) #if defined(__GNUC__) && defined(MT_HEADER) -static inline int +static __inline int if_queue_drop(struct ifqueue *ifq, struct mbuf *m) { IF_DROP(ifq); return 0; } -static inline int +static __inline int if_enq_drop(struct ifqueue *ifq, struct mbuf *m) { if (IF_QFULL(ifq) && diff --git a/sys/net/ppp_tty.c b/sys/net/ppp_tty.c index e1da807..f3e6495 100644 --- a/sys/net/ppp_tty.c +++ b/sys/net/ppp_tty.c @@ -70,7 +70,7 @@ * Paul Mackerras (paulus@cs.anu.edu.au). */ -/* $Id: ppp_tty.c,v 1.32 1998/03/30 09:52:14 phk Exp $ */ +/* $Id: ppp_tty.c,v 1.33 1998/04/06 11:43:12 phk Exp $ */ #include "ppp.h" #if NPPP > 0 @@ -98,7 +98,7 @@ # include <sys/vnode.h> #define KERNEL -#ifdef i386 +#ifdef __i386 #include <i386/isa/intr_machdep.h> #endif @@ -170,7 +170,7 @@ void pppasyncattach(dummy) void *dummy; { -#ifdef i386 +#ifdef __i386 int s; s = splhigh(); |