summaryrefslogtreecommitdiff
path: root/src/runtime/c/gu/hash.h
diff options
context:
space:
mode:
authorkrasimir <krasimir@chalmers.se>2017-04-19 12:30:40 +0000
committerkrasimir <krasimir@chalmers.se>2017-04-19 12:30:40 +0000
commit5c93f2fba5eadaa1e516106c08d495c14a0eb647 (patch)
treee0d2a925cc0f3c0d8ec4bac0668fb42b2a64babe /src/runtime/c/gu/hash.h
parent74ce52d761de9bc49fbb1aaf2d273d3edc34a3d6 (diff)
in libgu mark explicitly all functions that belong to the API
Diffstat (limited to 'src/runtime/c/gu/hash.h')
-rw-r--r--src/runtime/c/gu/hash.h8
1 files changed, 4 insertions, 4 deletions
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_