X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=pppd%2Fupap.h;h=c86e520195262af8bedb6b782fa87c4f9d891052;hb=4f3e40659fcccce45068473ae94cfead18260c77;hp=061f60e3d130e5c2f673be96384ad6f5badbd4df;hpb=5c9f2d0e37f7b761e7d966385028f32cb0cca0cf;p=ppp.git diff --git a/pppd/upap.h b/pppd/upap.h index 061f60e..c86e520 100644 --- a/pppd/upap.h +++ b/pppd/upap.h @@ -44,6 +44,11 @@ #include "pppdconf.h" +#ifdef __cplusplus +extern "C" { +#endif + + /* * Packet header = Code, id, length. */ @@ -144,4 +149,8 @@ extern pap_logout_hook_fn *pap_logout_hook; */ extern pap_passwd_hook_fn *pap_passwd_hook; +#ifdef __cplusplus +} +#endif + #endif // PPP_UPAP_H