File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 15
15
//
16
16
// ===----------------------------------------------------------------------===//
17
17
18
- #ifndef __SWIFT_MALLOC_H__
19
- #define __SWIFT_MALLOC_H__
18
+ #ifndef SWIFT_BASIC_MALLOC_H
19
+ #define SWIFT_BASIC_MALLOC_H
20
20
21
21
#include < cassert>
22
22
#include < cstdlib>
@@ -33,7 +33,7 @@ inline void *AlignedAlloc(size_t size, size_t align) {
33
33
void *r;
34
34
int res = posix_memalign (&r, align, size);
35
35
assert (res == 0 && " posix_memalign failed" );
36
- (void )res; // Silence the unused variable warning
36
+ (void )res; // Silence the unused variable warning.
37
37
return r;
38
38
}
39
39
@@ -42,6 +42,6 @@ inline void AlignedFree(void *p) {
42
42
free (p);
43
43
}
44
44
45
- }
45
+ } // end namespace swift
46
46
47
- #endif
47
+ #endif // SWIFT_BASIC_MALLOC_H
You can’t perform that action at this time.
0 commit comments