X-Git-Url: https://git.ozlabs.org/?p=ppp.git;a=blobdiff_plain;f=pppd%2Fupap.h;h=709cd6294ffd2bf216799da3284518bea0238a2c;hp=e6058be14bc64b77b6b3e3f29b5d36898d6637b3;hb=HEAD;hpb=ba7f7e053daae846a54a1d08d3d133a5f1266ace diff --git a/pppd/upap.h b/pppd/upap.h index e6058be..c86e520 100644 --- a/pppd/upap.h +++ b/pppd/upap.h @@ -1,5 +1,3 @@ -#include "pppdconf.h" - /* * upap.h - User/Password Authentication Protocol definitions. * @@ -46,6 +44,11 @@ #include "pppdconf.h" +#ifdef __cplusplus +extern "C" { +#endif + + /* * Packet header = Code, id, length. */ @@ -146,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