diff options
Diffstat (limited to 'include/rpc/des_crypt.h')
-rw-r--r-- | include/rpc/des_crypt.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/rpc/des_crypt.h b/include/rpc/des_crypt.h index a5df606..f38f4f4 100644 --- a/include/rpc/des_crypt.h +++ b/include/rpc/des_crypt.h @@ -47,6 +47,10 @@ #include <sys/cdefs.h> #include <rpc/rpc.h> +#ifdef __cplusplus +extern "C" { +#endif + #define DES_MAXDATA 8192 /* max bytes encrypted in one call */ #define DES_DIRMASK (1 << 0) #define DES_ENCRYPT (0*DES_DIRMASK) /* Encrypt */ @@ -103,4 +107,8 @@ __BEGIN_DECLS void des_setparity( char *); __END_DECLS +#ifdef __cplusplus +} +#endif + #endif /* _DES_DES_CRYPT_H */ |