Clang format

This commit is contained in:
Matthew Parkinson
2019-01-24 11:22:44 +00:00
parent 28a28bb1ed
commit 67fbcba653
2 changed files with 2 additions and 3 deletions

View File

@@ -201,7 +201,7 @@ extern "C"
return ENOENT;
}
#if !defined(__PIC__) && !defined(NO_BOOTSTRAP_ALLOCATOR)
#if !defined(__PIC__) && !defined(NO_BOOTSTRAP_ALLOCATOR)
// The following functions are required to work before TLS is set up, in
// statically-linked programs. These temporarily grab an allocator from the
// pool and return it.
@@ -224,7 +224,7 @@ extern "C"
sz = ((sz - 1) >> (bits::BITS - 1)) + sz;
return get_slow_allocator()->alloc<ZeroMem::YesZero>(sz);
}
void __je_bootstrap_free(void* ptr)
{
get_slow_allocator()->dealloc(ptr);

View File

@@ -12,7 +12,6 @@ namespace test
// Pre allocate all the objects
size_t* objects[count];
NOINLINE void setup(xoroshiro::p128r64& r, Alloc* alloc)
{
for (size_t i = 0; i < count; i++)