summaryrefslogtreecommitdiffstats
path: root/src/hashtable.h
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2014-10-03 15:39:47 +0200
committerGravatar Nikias Bassen2014-10-03 15:39:47 +0200
commit62813daf2c4aaec675652d9c1131a58dfa634e38 (patch)
tree4427398d97f1295996410fc3dbf86c6de8bf873c /src/hashtable.h
parenteab599c151617eef9035343fd63591fa4d09bd3e (diff)
downloadlibplist-62813daf2c4aaec675652d9c1131a58dfa634e38.tar.gz
libplist-62813daf2c4aaec675652d9c1131a58dfa634e38.tar.bz2
Avoid exporting non-public symbols
Diffstat (limited to 'src/hashtable.h')
-rw-r--r--src/hashtable.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/hashtable.h b/src/hashtable.h
index 8c72c82..c28de91 100644
--- a/src/hashtable.h
+++ b/src/hashtable.h
@@ -21,7 +21,6 @@
#ifndef HASHTABLE_H
#define HASHTABLE_H
#include <stdlib.h>
-#include "common.h"
typedef struct hashentry_t {
void *key;
@@ -39,10 +38,10 @@ typedef struct hashtable_t {
compare_func_t compare_func;
} hashtable_t;
-_PLIST_INTERNAL hashtable_t* hash_table_new(hash_func_t hash_func, compare_func_t compare_func);
-_PLIST_INTERNAL void hash_table_destroy(hashtable_t *ht);
+hashtable_t* hash_table_new(hash_func_t hash_func, compare_func_t compare_func);
+void hash_table_destroy(hashtable_t *ht);
-_PLIST_INTERNAL void hash_table_insert(hashtable_t* ht, void *key, void *value);
-_PLIST_INTERNAL void* hash_table_lookup(hashtable_t* ht, void *key);
+void hash_table_insert(hashtable_t* ht, void *key, void *value);
+void* hash_table_lookup(hashtable_t* ht, void *key);
#endif