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
This commit is contained in:
Peter Wemm 1997-10-18 09:02:39 +00:00
parent 940d89a9d5
commit 635de877cb

View File

@ -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 */