Skip to content

Commit a3e3021

Browse files
committed
replace pragma once with c style header guard
1 parent 5dd549d commit a3e3021

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

include/umf/pools/pool_disjoint.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
*
88
*/
99

10-
#pragma once
10+
#ifndef UMF_DISJOINT_MEMORY_POOL_H
11+
#define UMF_DISJOINT_MEMORY_POOL_H 1
1112
#ifdef __cplusplus
1213
extern "C" {
1314
#endif
@@ -118,3 +119,5 @@ const umf_memory_pool_ops_t *umfDisjointPoolOps(void);
118119
#ifdef __cplusplus
119120
}
120121
#endif
122+
123+
#endif /* UMF_DISJOINT_MEMORY_POOL_H */

0 commit comments

Comments
 (0)