]> git.meshlink.io Git - meshlink/blobdiff - src/hash.h
Fix more compiler warnings.
[meshlink] / src / hash.h
index de96f888128885ff419769a12a53a67e6b054d1b..b28dc977f49a252401999274bb44a97d35a59b01 100644 (file)
@@ -27,15 +27,15 @@ typedef struct hash_t {
        const void **values;
 } hash_t;
 
-extern hash_t *hash_alloc(size_t n, size_t size) __attribute__((__malloc__));
-extern void hash_free(hash_t *);
+hash_t *hash_alloc(size_t n, size_t size) __attribute__((__malloc__));
+void hash_free(hash_t *);
 
-extern void hash_insert(hash_t *, const void *key, const void *value);
+void hash_insert(hash_t *, const void *key, const void *value);
 
-extern void *hash_search(const hash_t *, const void *key);
-extern void *hash_search_or_insert(hash_t *, const void *key, const void *value);
+void *hash_search(const hash_t *, const void *key);
+void *hash_search_or_insert(hash_t *, const void *key, const void *value);
 
-extern void hash_clear(hash_t *);
-extern void hash_resize(hash_t *, size_t n);
+void hash_clear(hash_t *);
+void hash_resize(hash_t *, size_t n);
 
 #endif