summaryrefslogtreecommitdiffstats
path: root/Hashtable.h
diff options
context:
space:
mode:
authorZev Weiss <zev@bewilderbeest.net>2020-09-02 02:38:44 -0500
committerZev Weiss <zev@bewilderbeest.net>2020-09-03 11:59:26 -0500
commit7b7822b896af7673b9e13f0f1807e187ef2d4370 (patch)
tree432855970507d1d622976fd8c4464c803d92239a /Hashtable.h
parenta1a027b9bd833db5384d7dc65046194018eb8bfa (diff)
Remove superfluous 'extern's from function declarations.
Applied via: $ find * -name '*.h' -exec sed -i -r 's/^extern (.+\()/\1/;' {} + Suggested-by: Bert Wesarg <bert.wesarg@googlemail.com>
Diffstat (limited to 'Hashtable.h')
-rw-r--r--Hashtable.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/Hashtable.h b/Hashtable.h
index 651f1648..144f01cf 100644
--- a/Hashtable.h
+++ b/Hashtable.h
@@ -28,20 +28,20 @@ struct Hashtable_ {
#ifdef DEBUG
-extern int Hashtable_count(Hashtable* this);
+int Hashtable_count(Hashtable* this);
#endif
-extern Hashtable* Hashtable_new(int size, bool owner);
+Hashtable* Hashtable_new(int size, bool owner);
-extern void Hashtable_delete(Hashtable* this);
+void Hashtable_delete(Hashtable* this);
-extern void Hashtable_put(Hashtable* this, unsigned int key, void* value);
+void Hashtable_put(Hashtable* this, unsigned int key, void* value);
-extern void* Hashtable_remove(Hashtable* this, unsigned int key);
+void* Hashtable_remove(Hashtable* this, unsigned int key);
-extern void* Hashtable_get(Hashtable* this, unsigned int key);
+void* Hashtable_get(Hashtable* this, unsigned int key);
-extern void Hashtable_foreach(Hashtable* this, Hashtable_PairFunction f, void* userData);
+void Hashtable_foreach(Hashtable* this, Hashtable_PairFunction f, void* userData);
#endif

© 2014-2024 Faster IT GmbH | imprint | privacy policy