mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-31 07:28:02 +03:00
Update brace style.
Add braces around single-line blocks, and remove line breaks before function-opening braces. This resolves #537.
This commit is contained in:
parent
5154ff32ee
commit
c4c2592c83
119 changed files with 2971 additions and 3572 deletions
|
|
@ -3,8 +3,7 @@
|
|||
#define NTHREADS 10
|
||||
|
||||
void *
|
||||
thd_start(void *arg)
|
||||
{
|
||||
thd_start(void *arg) {
|
||||
unsigned main_arena_ind = *(unsigned *)arg;
|
||||
void *p;
|
||||
unsigned arena_ind;
|
||||
|
|
@ -38,8 +37,7 @@ thd_start(void *arg)
|
|||
return (NULL);
|
||||
}
|
||||
|
||||
TEST_BEGIN(test_thread_arena)
|
||||
{
|
||||
TEST_BEGIN(test_thread_arena) {
|
||||
void *p;
|
||||
unsigned arena_ind;
|
||||
size_t size;
|
||||
|
|
@ -73,8 +71,7 @@ TEST_BEGIN(test_thread_arena)
|
|||
TEST_END
|
||||
|
||||
int
|
||||
main(void)
|
||||
{
|
||||
main(void) {
|
||||
return (test(
|
||||
test_thread_arena));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue