Skip to content

Commit 5748b2a

Browse files
authored
Merge pull request #117 from AlphaDaze/hash-guards
Add include guard to hash_table.h
2 parents f8bc4b1 + 068cf80 commit 5748b2a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

api/hash_table.h

+5
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@
1717
limitations under the License.
1818
*/
1919

20+
#ifndef __MAMBO_HASH_TABLE_H__
21+
#define __MAMBO_HASH_TABLE_H__
22+
2023
#include <stdbool.h>
2124

2225
typedef struct {
@@ -54,3 +57,5 @@ int mambo_ht_add_nolock(mambo_ht_t *ht, uintptr_t key, uintptr_t value);
5457
int mambo_ht_add(mambo_ht_t *ht, uintptr_t key, uintptr_t value);
5558
int mambo_ht_get_nolock(mambo_ht_t *ht, uintptr_t key, uintptr_t *value);
5659
int mambo_ht_get(mambo_ht_t *ht, uintptr_t key, uintptr_t *value);
60+
61+
#endif

0 commit comments

Comments
 (0)