Made headers compatible with C++.

This commit is contained in:
Thomas Pornin 2017-04-06 01:03:54 +02:00
parent ee15f235c9
commit 042986b989
10 changed files with 80 additions and 0 deletions

View file

@ -29,6 +29,10 @@
#include <stdint.h>
#include <string.h>
#ifdef __cplusplus
extern "C" {
#endif
/** \file bearssl_hash.h
*
* # Hash Functions
@ -1335,4 +1339,8 @@ void br_ghash_pwr8(void *y, const void *h, const void *data, size_t len);
*/
br_ghash br_ghash_pwr8_get(void);
#ifdef __cplusplus
}
#endif
#endif