X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=pppd%2Foptions.h;h=564a851963da7854748196678cc4ea0b4b6dab05;hb=4f3e40659fcccce45068473ae94cfead18260c77;hp=61d2bab2f2f1f44596ed5dfde531345989c2bcf7;hpb=ba7f7e053daae846a54a1d08d3d133a5f1266ace;p=ppp.git 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