diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2015-06-24 04:34:11 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2015-06-24 04:34:11 +0300 |
commit | d740ffcd5e356b908159f247715d0d51f6bf1095 (patch) | |
tree | 0c74b6cf380494a964037f65f46ebd2f14a742e2 /include/aesni/algorithm.h | |
parent | refactoring (diff) | |
download | aes-tools-d740ffcd5e356b908159f247715d0d51f6bf1095.tar.gz aes-tools-d740ffcd5e356b908159f247715d0d51f6bf1095.zip |
add missing extern "C" {
Diffstat (limited to '')
-rw-r--r-- | include/aesni/algorithm.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/aesni/algorithm.h b/include/aesni/algorithm.h index 8aacfdc..a73b412 100644 --- a/include/aesni/algorithm.h +++ b/include/aesni/algorithm.h @@ -8,6 +8,11 @@ #pragma once +#ifdef __cplusplus +extern "C" +{ +#endif + typedef enum { AESNI_AES128, @@ -15,3 +20,7 @@ typedef enum AESNI_AES256, } AesNI_Algorithm; + +#ifdef __cplusplus +} +#endif |