X-Git-Url: https://git.ozlabs.org/?p=ppp.git;a=blobdiff_plain;f=pppd%2Fcrypto.h;h=c559d0c45993f3a6af351e1edad58104adee0fa2;hp=af85179c90f7c36492120a97ac0e5ffa7fce0040;hb=4f3e40659fcccce45068473ae94cfead18260c77;hpb=827e4952d6bcc8dd9c8fdda54a509e5b59685c34 diff --git a/pppd/crypto.h b/pppd/crypto.h index af85179..c559d0c 100644 --- a/pppd/crypto.h +++ b/pppd/crypto.h @@ -30,6 +30,10 @@ #ifndef PPP_CRYPTO_H #define PPP_CRYPTO_H +#ifdef __cplusplus +extern "C" { +#endif + #ifndef MD5_DIGEST_LENGTH #define MD5_DIGEST_LENGTH 16 #endif @@ -152,4 +156,8 @@ int PPP_crypto_init(); */ int PPP_crypto_deinit(); +#ifdef __cplusplus +} #endif + +#endif // PPP_CRYPTO_H