diff options
author | Tao Bao <tbao@google.com> | 2015-07-15 00:52:24 +0200 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2015-07-15 00:52:24 +0200 |
commit | 3231c7ca7f6534adf50474c8db57b1ba3c6cfe2f (patch) | |
tree | 500677af2c571ac6f43bbc1f5b4b24d52a68d7ec /minzip/Hash.h | |
parent | am f2853e27: am 65c230f4: Merge "Revert "Zero blocks before BLKDISCARD"" (diff) | |
parent | am 0bacbfd0: Merge "recovery: Switch applypatch/ and updater/ to cpp." (diff) | |
download | android_bootable_recovery-3231c7ca7f6534adf50474c8db57b1ba3c6cfe2f.tar android_bootable_recovery-3231c7ca7f6534adf50474c8db57b1ba3c6cfe2f.tar.gz android_bootable_recovery-3231c7ca7f6534adf50474c8db57b1ba3c6cfe2f.tar.bz2 android_bootable_recovery-3231c7ca7f6534adf50474c8db57b1ba3c6cfe2f.tar.lz android_bootable_recovery-3231c7ca7f6534adf50474c8db57b1ba3c6cfe2f.tar.xz android_bootable_recovery-3231c7ca7f6534adf50474c8db57b1ba3c6cfe2f.tar.zst android_bootable_recovery-3231c7ca7f6534adf50474c8db57b1ba3c6cfe2f.zip |
Diffstat (limited to 'minzip/Hash.h')
-rw-r--r-- | minzip/Hash.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/minzip/Hash.h b/minzip/Hash.h index 8194537f3..e83eac414 100644 --- a/minzip/Hash.h +++ b/minzip/Hash.h @@ -15,6 +15,10 @@ #include <stdbool.h> #include <assert.h> +#ifdef __cplusplus +extern "C" { +#endif + /* compute the hash of an item with a specific type */ typedef unsigned int (*HashCompute)(const void* item); @@ -183,4 +187,8 @@ typedef unsigned int (*HashCalcFunc)(const void* item); void mzHashTableProbeCount(HashTable* pHashTable, HashCalcFunc calcFunc, HashCompareFunc cmpFunc); +#ifdef __cplusplus +} +#endif + #endif /*_MINZIP_HASH*/ |