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:
Jason Evans
2017-01-15 16:56:30 -08:00
parent 5154ff32ee
commit c4c2592c83
119 changed files with 2971 additions and 3572 deletions

View File

@@ -1,7 +1,6 @@
#include "test/jemalloc_test.h"
TEST_BEGIN(test_ticker_tick)
{
TEST_BEGIN(test_ticker_tick) {
#define NREPS 2
#define NTICKS 3
ticker_t ticker;
@@ -26,8 +25,7 @@ TEST_BEGIN(test_ticker_tick)
}
TEST_END
TEST_BEGIN(test_ticker_ticks)
{
TEST_BEGIN(test_ticker_ticks) {
#define NTICKS 3
ticker_t ticker;
@@ -45,8 +43,7 @@ TEST_BEGIN(test_ticker_ticks)
}
TEST_END
TEST_BEGIN(test_ticker_copy)
{
TEST_BEGIN(test_ticker_copy) {
#define NTICKS 3
ticker_t ta, tb;
@@ -66,8 +63,7 @@ TEST_BEGIN(test_ticker_copy)
TEST_END
int
main(void)
{
main(void) {
return (test(
test_ticker_tick,
test_ticker_ticks,