Skip to content

Commit 068cf80

Browse files
committed
Add include guard to hash_table.h
1 parent d797994 commit 068cf80

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

api/hash_table.h

Lines changed: 5 additions & 0 deletions
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 {
@@ -44,3 +47,5 @@ int mambo_ht_add_nolock(mambo_ht_t *ht, uintptr_t key, uintptr_t value);
4447
int mambo_ht_add(mambo_ht_t *ht, uintptr_t key, uintptr_t value);
4548
int mambo_ht_get_nolock(mambo_ht_t *ht, uintptr_t key, uintptr_t *value);
4649
int mambo_ht_get(mambo_ht_t *ht, uintptr_t key, uintptr_t *value);
50+
51+
#endif

0 commit comments

Comments
 (0)