mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-08-02 08:30:27 +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
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue