diff options
Diffstat (limited to 'libdex/sha1.h')
-rw-r--r-- | libdex/sha1.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libdex/sha1.h b/libdex/sha1.h index 65cf667cd..0cef6234b 100644 --- a/libdex/sha1.h +++ b/libdex/sha1.h @@ -4,6 +4,10 @@ #ifndef _DALVIK_SHA1 #define _DALVIK_SHA1 +#ifdef __cplusplus +extern "C" { +#endif + typedef struct { unsigned long state[5]; unsigned long count[2]; @@ -17,4 +21,8 @@ void SHA1Update(SHA1_CTX* context, const unsigned char* data, unsigned long len); void SHA1Final(unsigned char digest[HASHSIZE], SHA1_CTX* context); +#ifdef __cplusplus +} +#endif + #endif /*_DALVIK_SHA1*/ |