]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/ipcp.h
Adding 'extern "C" {' and '}' declarations to exported header files
[ppp.git] / pppd / ipcp.h
index 97b5e6b1da04140ca00499c0ec1bb11956752a48..b3f6e28d06d1c761d93b9f71f891bf2e7cc865ff 100644 (file)
 
 #include "pppdconf.h"
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 /*
  * Options.
  */
@@ -118,4 +122,8 @@ extern ip_down_hook_fn *ip_down_hook;
 typedef void (ip_choose_hook_fn)(uint32_t *);
 extern ip_choose_hook_fn *ip_choose_hook;
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* PPP_IPCP_H */