]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/pppd.h
Adding 'extern "C" {' and '}' declarations to exported header files
[ppp.git] / pppd / pppd.h
index 9861ebc99ffe7fcff00a9859a43f58479ed0ca51..ed50f9b3557b60751711af17780bae6365057266 100644 (file)
 
 #include "pppdconf.h"
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 /*
  * Limits
  */
@@ -560,4 +564,8 @@ extern int  (*allowed_address_hook)(uint32_t addr);
 extern void (*snoop_recv_hook)(unsigned char *p, int len);
 extern void (*snoop_send_hook)(unsigned char *p, int len);
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* PPP_PPPD_H */