summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2011-02-23 14:38:25 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2011-02-23 14:38:25 +0000
commit241a4c315fcb048765fcf6188de75d6b337b37ca (patch)
tree5fa0c73cb6616c391e94dcfbd142ae9284af6992 /cpukit/libnetworking
parent2011-02-23 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-241a4c315fcb048765fcf6188de75d6b337b37ca.tar.bz2
2011-02-23 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/net/if_pppvar.h: Add "extern C++" guards. Add header guard.
Diffstat (limited to 'cpukit/libnetworking')
-rw-r--r--cpukit/libnetworking/net/if_pppvar.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/cpukit/libnetworking/net/if_pppvar.h b/cpukit/libnetworking/net/if_pppvar.h
index 4b5fc96912..4bb6a086b0 100644
--- a/cpukit/libnetworking/net/if_pppvar.h
+++ b/cpukit/libnetworking/net/if_pppvar.h
@@ -42,6 +42,13 @@
* $FreeBSD: src/sys/net/if_pppvar.h,v 1.26 2006/12/05 18:54:21 ume Exp $
*/
+#ifndef _NET_IF_PPPVAR_H_
+#define _NET_IF_PPPVAR_H_
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/*
* $Id$
*/
@@ -142,3 +149,10 @@ void pppallocmbuf(struct ppp_softc *sc, struct mbuf **mp);
#define SC_TX_ESCAPE 0x0004
#define SC_TX_LASTCHAR 0x0008
#define SC_TX_PENDING 0x0010
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _NET_IF_PPPVAR_H_ */
+