summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2005-01-28 02:14:23 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2005-01-28 02:14:23 +0000
commit8687ba507cae9c55910a35fcb331bb140a46b7e3 (patch)
tree26279355830edeeed85701020d8d3b89333416a6 /cpukit
parent2005-01-28 Ralf Corsepius <ralf.corsepius@rtems.org> (diff)
downloadrtems-8687ba507cae9c55910a35fcb331bb140a46b7e3.tar.bz2
2005-01-28 Ralf Corsepius <ralf.corsepius@rtems.org>
* libnetworking/net/if_pppvar.h: Ansify.
Diffstat (limited to 'cpukit')
-rw-r--r--cpukit/ChangeLog4
-rw-r--r--cpukit/libnetworking/net/if_pppvar.h24
2 files changed, 16 insertions, 12 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog
index 144b9054d4..f6a1ea7720 100644
--- a/cpukit/ChangeLog
+++ b/cpukit/ChangeLog
@@ -1,5 +1,9 @@
2005-01-28 Ralf Corsepius <ralf.corsepius@rtems.org>
+ * libnetworking/net/if_pppvar.h: Ansify.
+
+2005-01-28 Ralf Corsepius <ralf.corsepius@rtems.org>
+
* include/rtems/userenv.h: Set up LOGIN_NAME_MAX iff not having been
defined before.
diff --git a/cpukit/libnetworking/net/if_pppvar.h b/cpukit/libnetworking/net/if_pppvar.h
index 100b6b94e3..d657da50e0 100644
--- a/cpukit/libnetworking/net/if_pppvar.h
+++ b/cpukit/libnetworking/net/if_pppvar.h
@@ -57,9 +57,9 @@ struct ppp_softc {
struct ifnet sc_if; /* network-visible interface */
u_int sc_flags; /* control/status bits; see if_ppp.h */
void *sc_devp; /* pointer to device-dep structure */
- void (*sc_start) __P((struct ppp_softc *)); /* start output proc */
- void (*sc_ctlp) __P((struct ppp_softc *)); /* rcvd control pkt */
- void (*sc_relinq) __P((struct ppp_softc *)); /* relinquish ifunit */
+ void (*sc_start)(struct ppp_softc *); /* start output proc */
+ void (*sc_ctlp)(struct ppp_softc *); /* rcvd control pkt */
+ void (*sc_relinq)(struct ppp_softc *); /* relinquish ifunit */
short sc_mru; /* max receive unit */
pid_t sc_xfer; /* used in transferring unit */
struct ifqueue sc_rawq; /* received packets */
@@ -114,15 +114,15 @@ struct ppp_softc {
struct ppp_softc ppp_softc[NPPP];
-struct ppp_softc *pppalloc __P((pid_t pid));
-void pppdealloc __P((struct ppp_softc *sc));
-int pppoutput __P((struct ifnet *, struct mbuf *,
- struct sockaddr *, struct rtentry *));
-int pppioctl __P((struct ppp_softc *sc, int cmd, caddr_t data,
- int flag, struct proc *p));
-struct mbuf *ppp_dequeue __P((struct ppp_softc *sc));
-u_short pppfcs __P((u_short fcs, u_char *cp, int len));
-void pppallocmbuf __P((struct ppp_softc *sc, struct mbuf **mp));
+struct ppp_softc *pppalloc(pid_t pid);
+void pppdealloc(struct ppp_softc *sc);
+int pppoutput(struct ifnet *, struct mbuf *,
+ struct sockaddr *, struct rtentry *);
+int pppioctl(struct ppp_softc *sc, int cmd, caddr_t data,
+ int flag, struct proc *p);
+struct mbuf *ppp_dequeue(struct ppp_softc *sc);
+u_short pppfcs(u_short fcs, u_char *cp, int len);
+void pppallocmbuf(struct ppp_softc *sc, struct mbuf **mp);
/* define event values */