]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/upap.h
Adding 'extern "C" {' and '}' declarations to exported header files
[ppp.git] / pppd / upap.h
index 061f60e3d130e5c2f673be96384ad6f5badbd4df..c86e520195262af8bedb6b782fa87c4f9d891052 100644 (file)
 
 #include "pppdconf.h"
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
 /*
  * Packet header = Code, id, length.
  */
@@ -144,4 +149,8 @@ extern pap_logout_hook_fn *pap_logout_hook;
  */
 extern pap_passwd_hook_fn *pap_passwd_hook;
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif // PPP_UPAP_H