mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-23 21:23:06 +00: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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user