]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/ipv6cp.h
Adding 'extern "C" {' and '}' declarations to exported header files
[ppp.git] / pppd / ipv6cp.h
index d6e626e716a829da73ca2335578f4eb9d961fb23..3be5885abbda926c42b0c2a50aee2d4c4e589ac6 100644 (file)
 
 #include "pppdconf.h"
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 /*  Original version, based on RFC2023 :
 
     Copyright (c) 1995, 1996, 1997 Francis.Dupont@inria.fr, INRIA Rocquencourt,
@@ -186,4 +190,8 @@ extern ipv6_up_hook_fn *ipv6_up_hook;
 typedef void (ipv6_down_hook_fn)(void);
 extern ipv6_down_hook_fn *ipv6_down_hook;
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif