From e698cb6764dcf3ccc6bffa6363ffab8a77f57205 Mon Sep 17 00:00:00 2001 From: peter Date: Sat, 18 Oct 1997 09:02:39 +0000 Subject: Braino on my part.. a #define isn't a reference to a structure, so the struct only needs to be defined if the macro is used. Pointed out by: bde --- sys/net/if_ppp.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'sys/net/if_ppp.h') diff --git a/sys/net/if_ppp.h b/sys/net/if_ppp.h index b776c53..d49a5df 100644 --- a/sys/net/if_ppp.h +++ b/sys/net/if_ppp.h @@ -16,7 +16,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: if_ppp.h,v 1.11 1997/10/17 21:50:31 roberto Exp $ + * $Id: if_ppp.h,v 1.12 1997/10/18 00:49:59 peter Exp $ */ #ifndef _IF_PPP_H_ @@ -116,10 +116,8 @@ struct ifpppcstatsreq { #define PPPIOCGNPMODE _IOWR('t', 76, struct npioctl) /* get NP mode */ #define PPPIOCSNPMODE _IOW('t', 75, struct npioctl) /* set NP mode */ #define PPPIOCGIDLE _IOR('t', 74, struct ppp_idle) /* get idle time */ -#ifdef PPP_FILTER #define PPPIOCSPASS _IOW('t', 71, struct bpf_program) /* set pass filter */ #define PPPIOCSACTIVE _IOW('t', 70, struct bpf_program) /* set active filt */ -#endif /* PPP_FILTER */ /* PPPIOC[GS]MTU are alternatives to SIOC[GS]IFMTU, used under Ultrix */ #define PPPIOCGMTU _IOR('t', 73, int) /* get interface MTU */ -- cgit v1.1