summaryrefslogtreecommitdiff
path: root/src/runtime/c/gu/hash.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/c/gu/hash.c')
-rw-r--r--src/runtime/c/gu/hash.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/runtime/c/gu/hash.c b/src/runtime/c/gu/hash.c
index 0057d0f42..9813471d7 100644
--- a/src/runtime/c/gu/hash.c
+++ b/src/runtime/c/gu/hash.c
@@ -1,6 +1,6 @@
#include <gu/hash.h>
-GuHash
+GU_API GuHash
gu_hash_bytes(GuHash h, const uint8_t* buf, size_t len)
{
for (size_t n = 0; n < len; n++) {
@@ -25,7 +25,7 @@ gu_int_hash_fn(GuHasher* self, const void* p)
return (GuHash) *(const int*) p;
}
-GU_API_DATA GuHasher gu_int_hasher[1] = {
+GU_API GuHasher gu_int_hasher[1] = {
{
{ gu_int_eq_fn },
gu_int_hash_fn
@@ -46,7 +46,7 @@ gu_addr_hash_fn(GuHasher* self, const void* p)
return (GuHash) (uintptr_t) p;
}
-GU_API_DATA GuHasher gu_addr_hasher[1] = {
+GU_API GuHasher gu_addr_hasher[1] = {
{
{ gu_addr_eq_fn },
gu_addr_hash_fn
@@ -69,7 +69,7 @@ gu_word_hash_fn(GuHasher* self, const void* p)
return (GuHash) (uintptr_t) p;
}
-GU_API_DATA GuHasher gu_word_hasher[1] = {
+GU_API GuHasher gu_word_hasher[1] = {
{
{ gu_word_eq_fn },
gu_word_hash_fn