From 5c93f2fba5eadaa1e516106c08d495c14a0eb647 Mon Sep 17 00:00:00 2001 From: krasimir Date: Wed, 19 Apr 2017 12:30:40 +0000 Subject: in libgu mark explicitly all functions that belong to the API --- src/runtime/c/gu/hash.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/runtime/c/gu/hash.h') diff --git a/src/runtime/c/gu/hash.h b/src/runtime/c/gu/hash.h index fb688af01..c222e26b3 100644 --- a/src/runtime/c/gu/hash.h +++ b/src/runtime/c/gu/hash.h @@ -20,7 +20,7 @@ gu_hash_byte(GuHash h, uint8_t u) } -GuHash +GU_API GuHash gu_hash_bytes(GuHash h, const uint8_t* buf, size_t len); typedef const struct GuHasher GuHasher; @@ -31,10 +31,10 @@ struct GuHasher { }; -GU_API_DATA_DECL GuHasher gu_int_hasher[1]; +GU_API_DECL extern GuHasher gu_int_hasher[1]; -GU_API_DATA_DECL GuHasher gu_addr_hasher[1]; +GU_API_DECL extern GuHasher gu_addr_hasher[1]; -GU_API_DATA_DECL GuHasher gu_word_hasher[1]; +GU_API_DECL extern GuHasher gu_word_hasher[1]; #endif // GU_HASH_H_ -- cgit v1.2.3