summaryrefslogtreecommitdiff
path: root/lib/hash.h
diff options
context:
space:
mode:
authorOndrej Zajicek (work) <santiago@crfreenet.org>2016-11-08 17:46:29 +0100
committerOndrej Zajicek (work) <santiago@crfreenet.org>2016-11-08 17:46:29 +0100
commitc8cafc8ebb5320ac7c6117c17e6460036f0fdf62 (patch)
treea6ea77c3129973089e49ce65591bd6cf65f4d713 /lib/hash.h
parent920a86e8493fe25008f084f67f368aea9b197efd (diff)
Minor code cleanups
Diffstat (limited to 'lib/hash.h')
-rw-r--r--lib/hash.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/lib/hash.h b/lib/hash.h
index fc5fea14..4239b1d8 100644
--- a/lib/hash.h
+++ b/lib/hash.h
@@ -1,4 +1,14 @@
-
+/*
+ * BIRD Library -- Generic Hash Table
+ *
+ * (c) 2013 Ondrej Zajicek <santiago@crfreenet.org>
+ * (c) 2013 CZ.NIC z.s.p.o.
+ *
+ * Can be freely distributed and used under the terms of the GNU GPL.
+ */
+
+#ifndef _BIRD_HASH_H_
+#define _BIRD_HASH_H_
#define HASH(type) struct { type **data; uint count, order; }
#define HASH_TYPE(v) typeof(** (v).data)
@@ -178,3 +188,4 @@
#define HASH_WALK_FILTER_END } while (0)
+#endif