]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/multilink.h
Adding 'extern "C" {' and '}' declarations to exported header files
[ppp.git] / pppd / multilink.h
index e4639bb62e861156c2eb3da5d48dad264895824a..acf448a09713763f73e248c8ac0a7d47c6a4e9d2 100644 (file)
 
 #include "pppdconf.h"
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 /*
  * values for epdisc.class
  */
@@ -109,4 +113,9 @@ static inline bool mp_master() {
 }
 
 #endif // PPP_WITH_MULTILINK
+
+#ifdef __cplusplus
+}
+#endif
+
 #endif // PPP_MULTILINK_H