summaryrefslogtreecommitdiff
path: root/tests/t07-hashtable.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/t07-hashtable.c')
-rw-r--r--tests/t07-hashtable.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/t07-hashtable.c b/tests/t07-hashtable.c
index 7313f2cc9..c0e852259 100644
--- a/tests/t07-hashtable.c
+++ b/tests/t07-hashtable.c
@@ -34,7 +34,7 @@ typedef struct _aux_object {
int visited;
} table_item;
-uint32_t hash_func(const void *key, int hash_id)
+static uint32_t hash_func(const void *key, int hash_id)
{
uint32_t r;
const git_oid *id = key;
@@ -43,7 +43,7 @@ uint32_t hash_func(const void *key, int hash_id)
return r;
}
-int hash_cmpkey(const void *a, const void *b)
+static int hash_cmpkey(const void *a, const void *b)
{
return git_oid_cmp(a, b);
}