]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/ccp.h
Adding 'extern "C" {' and '}' declarations to exported header files
[ppp.git] / pppd / ccp.h
index 3f00056f49f5cf59cacced730aaa607380972f73..d60cdca8bcc180895e212769152eaefd1e39505f 100644 (file)
 
 #include "pppdconf.h"
 
+#ifdef  __cplusplus
+extern "C" {
+#endif
+
 typedef struct ccp_options {
     bool bsd_compress;         /* do BSD Compress? */
     bool deflate;              /* do Deflate? */
@@ -55,4 +59,8 @@ extern ccp_options ccp_hisoptions[];
 
 extern struct protent ccp_protent;
 
+#ifdef __cplusplus
+}
 #endif
+
+#endif // PPP_CCP_H