Skip to content

Commit 9b91ec6

Browse files
committed
more clang format
1 parent 2c4595f commit 9b91ec6

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

include/conf.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
/* See PERFORMANCE.md for notes on huge page sizes.
6666
* If your system uses a non-default value for huge
6767
* page sizes you will need to adjust that here */
68-
#if (__linux__ && MAP_HUGETLB) || (__APPLE__ && VM_FLAGS_SUPERPAGE_SIZE_2MB) || (__FreeBSD__ && MAP_HUGETLB) && HUGE_PAGES
68+
#if(__linux__ && MAP_HUGETLB) || (__APPLE__ && VM_FLAGS_SUPERPAGE_SIZE_2MB) || (__FreeBSD__ && MAP_HUGETLB) && HUGE_PAGES
6969
#define HUGE_PAGE_SZ 2097152
7070
#endif
7171

src/iso_alloc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@ INTERNAL_HIDDEN iso_alloc_zone_t *_iso_new_zone(size_t size, bool internal, int3
449449
p = mmap_rw_pages(total_size, false, name);
450450
#endif
451451

452-
#if (__ANDROID__ || KERNEL_VERSION_SEQ_5_17) && NAMED_MAPPINGS && MEMORY_TAGGING
452+
#if(__ANDROID__ || KERNEL_VERSION_SEQ_5_17) && NAMED_MAPPINGS && MEMORY_TAGGING
453453
if(new_zone->tagged == false) {
454454
name = MEM_TAG_NAME;
455455
}

src/iso_alloc_search.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ INTERNAL_HIDDEN void *_iso_alloc_ptr_search(void *n, bool poison) {
2424
end = search + ZONE_USER_SIZE;
2525

2626
while(search <= (uint8_t *) (end - sizeof(uint64_t))) {
27-
if(LIKELY((uint64_t) *(uint64_t *) search != (uint64_t) n)) {
27+
if(LIKELY((uint64_t) * (uint64_t *) search != (uint64_t) n)) {
2828
search++;
2929
} else {
3030
if(poison == false) {

src/libc_hook.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ EXTERNAL_API void *memset(void *dest, int b, size_t n) {
2323
/*
2424
* bzero is removed from the POSIX standard in IEEE Std 1003.1-2008, but still a valid *BSD extension
2525
*/
26-
#if (__FreeBSD__ || __NetBSD__ || __OpenBSD__ || __DragonFly__)
26+
#if(__FreeBSD__ || __NetBSD__ || __OpenBSD__ || __DragonFly__)
2727
EXTERNAL_API void bzero(void *dest, size_t n) {
2828
(void) _iso_alloc_memset(dest, 0, n);
2929
}

0 commit comments

Comments
 (0)