]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/options.h
Adding 'extern "C" {' and '}' declarations to exported header files
[ppp.git] / pppd / options.h
index 61d2bab2f2f1f44596ed5dfde531345989c2bcf7..564a851963da7854748196678cc4ea0b4b6dab05 100644 (file)
 #ifndef PPP_OPTIONS_H
 #define PPP_OPTIONS_H
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 enum opt_type {
        o_special_noarg,
        o_special,
@@ -111,4 +115,9 @@ int ppp_int_option(char *name, int *value);
 /* Print an error message about an option */
 void ppp_option_error(char *fmt, ...);
 
+
+#ifdef __cplusplus
+}
 #endif
+
+#endif // PPP_OPTIONS_H