Skip to content

Commit f79a741

Browse files
committed
Merge pull request #1779 from danra/patch-5
Minor comment fixes
2 parents 8c5d012 + 2411370 commit f79a741

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

include/swift/Basic/Malloc.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
//
1616
//===----------------------------------------------------------------------===//
1717

18-
#ifndef __SWIFT_MALLOC_H__
19-
#define __SWIFT_MALLOC_H__
18+
#ifndef SWIFT_BASIC_MALLOC_H
19+
#define SWIFT_BASIC_MALLOC_H
2020

2121
#include <cassert>
2222
#include <cstdlib>
@@ -33,7 +33,7 @@ inline void *AlignedAlloc(size_t size, size_t align) {
3333
void *r;
3434
int res = posix_memalign(&r, align, size);
3535
assert(res == 0 && "posix_memalign failed");
36-
(void)res; // Silence the unused variable warning
36+
(void)res; // Silence the unused variable warning.
3737
return r;
3838
}
3939

@@ -42,6 +42,6 @@ inline void AlignedFree(void *p) {
4242
free(p);
4343
}
4444

45-
}
45+
} // end namespace swift
4646

47-
#endif
47+
#endif // SWIFT_BASIC_MALLOC_H

0 commit comments

Comments
 (0)