X-Git-Url: http://git.ozlabs.org/?p=ppp.git;a=blobdiff_plain;f=NeXT%2Fif_pppvar.h;h=f3bf00438b202944350f27c4e417af0c6e551e7f;hp=bbad31d05703f6669553237fe361f5eeb56e6840;hb=8168f3bcad7dd8d72ed57ec1e12b0a784c62fbf6;hpb=ffed4c0be3569ea9c8901f66e67e289c11922692 diff --git a/NeXT/if_pppvar.h b/NeXT/if_pppvar.h index bbad31d..f3bf004 100644 --- a/NeXT/if_pppvar.h +++ b/NeXT/if_pppvar.h @@ -20,7 +20,9 @@ /* Portions Copyright (C) 1990 Brad K. Clements (streams support) */ +#if !(NS_TARGET >= 40) #import +#endif /* NS_TARGET */ /* * Supported network protocols. These values are used for @@ -34,7 +36,6 @@ /* only defined in the posix universe... */ /*typedef int pid_t; */ -typedef unsigned short u_int16_t; struct ppp_softc { netif_t sc_if; /* network-visible interface */ @@ -58,10 +59,6 @@ struct ppp_softc { #endif u_int sc_bytessent; /* count of octets sent */ u_int sc_bytesrcvd; /* count of octets received */ -#if NBPFILTER - caddr_t sc_bpf; /* hook for BPF */ - int if_pcount; /* Really belongs in ifnet_t */ -#endif enum NPmode sc_npmode[NUM_NP]; /* what to do with each NP */ #ifdef PPP_COMPRESS struct compressor *sc_xcomp; /* transmit compressor */