2005-01-28 Ralf Corsepius <ralf.corsepius@rtems.org>

* libnetworking/net/if_pppvar.h: Ansify.
This commit is contained in:
Ralf Corsepius
2005-01-28 02:14:23 +00:00
parent 36e925891d
commit 8687ba507c
2 changed files with 16 additions and 12 deletions

View File

@@ -1,3 +1,7 @@
2005-01-28 Ralf Corsepius <ralf.corsepius@rtems.org>
* libnetworking/net/if_pppvar.h: Ansify.
2005-01-28 Ralf Corsepius <ralf.corsepius@rtems.org> 2005-01-28 Ralf Corsepius <ralf.corsepius@rtems.org>
* include/rtems/userenv.h: Set up LOGIN_NAME_MAX iff not having been * include/rtems/userenv.h: Set up LOGIN_NAME_MAX iff not having been

View File

@@ -57,9 +57,9 @@ struct ppp_softc {
struct ifnet sc_if; /* network-visible interface */ struct ifnet sc_if; /* network-visible interface */
u_int sc_flags; /* control/status bits; see if_ppp.h */ u_int sc_flags; /* control/status bits; see if_ppp.h */
void *sc_devp; /* pointer to device-dep structure */ void *sc_devp; /* pointer to device-dep structure */
void (*sc_start) __P((struct ppp_softc *)); /* start output proc */ void (*sc_start)(struct ppp_softc *); /* start output proc */
void (*sc_ctlp) __P((struct ppp_softc *)); /* rcvd control pkt */ void (*sc_ctlp)(struct ppp_softc *); /* rcvd control pkt */
void (*sc_relinq) __P((struct ppp_softc *)); /* relinquish ifunit */ void (*sc_relinq)(struct ppp_softc *); /* relinquish ifunit */
short sc_mru; /* max receive unit */ short sc_mru; /* max receive unit */
pid_t sc_xfer; /* used in transferring unit */ pid_t sc_xfer; /* used in transferring unit */
struct ifqueue sc_rawq; /* received packets */ struct ifqueue sc_rawq; /* received packets */
@@ -114,15 +114,15 @@ struct ppp_softc {
struct ppp_softc ppp_softc[NPPP]; struct ppp_softc ppp_softc[NPPP];
struct ppp_softc *pppalloc __P((pid_t pid)); struct ppp_softc *pppalloc(pid_t pid);
void pppdealloc __P((struct ppp_softc *sc)); void pppdealloc(struct ppp_softc *sc);
int pppoutput __P((struct ifnet *, struct mbuf *, int pppoutput(struct ifnet *, struct mbuf *,
struct sockaddr *, struct rtentry *)); struct sockaddr *, struct rtentry *);
int pppioctl __P((struct ppp_softc *sc, int cmd, caddr_t data, int pppioctl(struct ppp_softc *sc, int cmd, caddr_t data,
int flag, struct proc *p)); int flag, struct proc *p);
struct mbuf *ppp_dequeue __P((struct ppp_softc *sc)); struct mbuf *ppp_dequeue(struct ppp_softc *sc);
u_short pppfcs __P((u_short fcs, u_char *cp, int len)); u_short pppfcs(u_short fcs, u_char *cp, int len);
void pppallocmbuf __P((struct ppp_softc *sc, struct mbuf **mp)); void pppallocmbuf(struct ppp_softc *sc, struct mbuf **mp);
/* define event values */ /* define event values */