Skip to content

Commit a34980e

Browse files
committed
util/mallocHelper: add missing #include guards
1 parent 0b56314 commit a34980e

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/util/mallocHelper.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
#pragma once
2+
3+
#ifndef FASTFETCH_INCLUDED_UTIL_MALLOC_HELPER
4+
#define FASTFETCH_INCLUDED_UTIL_MALLOC_HELPER
5+
16
#include <stdlib.h>
27
#include <assert.h>
38

@@ -9,3 +14,5 @@ static inline void ffWrapFree(void* pPtr)
914
}
1015

1116
#define FF_AUTO_FREE __attribute__((__cleanup__(ffWrapFree)))
17+
18+
#endif

0 commit comments

Comments
 (0)