summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
authorThomas Doerfler <Thomas.Doerfler@embedded-brains.de>2008-05-27 10:33:22 +0000
committerThomas Doerfler <Thomas.Doerfler@embedded-brains.de>2008-05-27 10:33:22 +0000
commita184e5ee4489cf20b815da2ea032691f7b9c8c65 (patch)
treed8c689d420c410761bd0610d496a1f79983bda3c /cpukit
parentBugfix: String output without width option. (diff)
downloadrtems-a184e5ee4489cf20b815da2ea032691f7b9c8c65.tar.bz2
Bugfix: Moved definition of ppp_softc into source file.
Diffstat (limited to 'cpukit')
-rw-r--r--cpukit/libnetworking/net/if_ppp.c2
-rw-r--r--cpukit/libnetworking/net/if_pppvar.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/libnetworking/net/if_ppp.c b/cpukit/libnetworking/net/if_ppp.c
index 9cfb944a8d..aea4c147fa 100644
--- a/cpukit/libnetworking/net/if_ppp.c
+++ b/cpukit/libnetworking/net/if_ppp.c
@@ -132,6 +132,8 @@
#include <net/ppp-comp.h>
#endif
+static struct ppp_softc ppp_softc[NPPP];
+
static int pppsioctl(struct ifnet *ifp, ioctl_command_t cmd, caddr_t data);
static void ppp_requeue(struct ppp_softc *);
#ifdef PPP_COMPRESS
diff --git a/cpukit/libnetworking/net/if_pppvar.h b/cpukit/libnetworking/net/if_pppvar.h
index b829c98cdf..4b5fc96912 100644
--- a/cpukit/libnetworking/net/if_pppvar.h
+++ b/cpukit/libnetworking/net/if_pppvar.h
@@ -117,8 +117,6 @@ struct ppp_softc {
rtems_id sc_pppdtask;
};
-struct ppp_softc ppp_softc[NPPP];
-
struct ppp_softc *pppalloc(pid_t pid);
void pppdealloc(struct ppp_softc *sc);
int pppoutput(struct ifnet *, struct mbuf *,