X-Git-Url: https://git.ozlabs.org/?p=ppp.git;a=blobdiff_plain;f=pppd%2Fupap.h;h=709cd6294ffd2bf216799da3284518bea0238a2c;hp=061f60e3d130e5c2f673be96384ad6f5badbd4df;hb=HEAD;hpb=dd3932623ee32a9f679aa087a9939e92556948e4 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