mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-08-25 16:43:33 +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
|
|
@ -16,8 +16,7 @@ const char *malloc_conf = ""
|
|||
static bool did_prof_dump_open;
|
||||
|
||||
static int
|
||||
prof_dump_open_intercept(bool propagate_err, const char *filename)
|
||||
{
|
||||
prof_dump_open_intercept(bool propagate_err, const char *filename) {
|
||||
int fd;
|
||||
|
||||
did_prof_dump_open = true;
|
||||
|
|
@ -28,8 +27,7 @@ prof_dump_open_intercept(bool propagate_err, const char *filename)
|
|||
return (fd);
|
||||
}
|
||||
|
||||
TEST_BEGIN(test_idump)
|
||||
{
|
||||
TEST_BEGIN(test_idump) {
|
||||
bool active;
|
||||
void *p;
|
||||
|
||||
|
|
@ -51,8 +49,7 @@ TEST_BEGIN(test_idump)
|
|||
TEST_END
|
||||
|
||||
int
|
||||
main(void)
|
||||
{
|
||||
main(void) {
|
||||
return (test(
|
||||
test_idump));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue