]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/ecp.h
Adding 'extern "C" {' and '}' declarations to exported header files
[ppp.git] / pppd / ecp.h
index 5a0df4d1468120fdf53f01ebb74a6c8e76ed43fa..975d79b876a7c8ca71d72340d717a7e1acb6d5ca 100644 (file)
 
 #include "pppdconf.h"
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 #ifndef PPP_ECP
 #define PPP_ECP 0x8053
 #endif
@@ -53,4 +57,8 @@ extern ecp_options ecp_hisoptions[];
 
 extern struct protent ecp_protent;
 
+#ifdef __cplusplus
+}
 #endif
+
+#endif // PPP_ECP_H