X-Git-Url: https://git.ozlabs.org/?p=ppp.git;a=blobdiff_plain;f=pppd%2Foptions.h;h=564a851963da7854748196678cc4ea0b4b6dab05;hp=61d2bab2f2f1f44596ed5dfde531345989c2bcf7;hb=4f3e40659fcccce45068473ae94cfead18260c77;hpb=827e4952d6bcc8dd9c8fdda54a509e5b59685c34 diff --git a/pppd/options.h b/pppd/options.h index 61d2bab..564a851 100644 --- a/pppd/options.h +++ b/pppd/options.h @@ -31,6 +31,10 @@ #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