diff options
author | Jason Evans <jasone@canonware.com> | 2013-12-09 06:28:27 (GMT) |
---|---|---|
committer | Jason Evans <jasone@canonware.com> | 2013-12-09 06:28:27 (GMT) |
commit | a4f124f59fa5f702231432a7e5fa45140ba81e2a (patch) | |
tree | da6aa27d2cda084bc50dc81738f23905271fb3c1 /src | |
parent | 2a83ed0284e92c7ba4bd4efe9df149ac724b2f26 (diff) | |
download | jemalloc-a4f124f59fa5f702231432a7e5fa45140ba81e2a.zip jemalloc-a4f124f59fa5f702231432a7e5fa45140ba81e2a.tar.gz jemalloc-a4f124f59fa5f702231432a7e5fa45140ba81e2a.tar.bz2 |
Normalize #define whitespace.
Consistently use a tab rather than a space following #define.
Diffstat (limited to 'src')
-rw-r--r-- | src/bitmap.c | 2 | ||||
-rw-r--r-- | src/mutex.c | 2 | ||||
-rw-r--r-- | src/stats.c | 8 | ||||
-rw-r--r-- | src/util.c | 2 |
4 files changed, 7 insertions, 7 deletions
diff --git a/src/bitmap.c b/src/bitmap.c index b47e262..e2bd907 100644 --- a/src/bitmap.c +++ b/src/bitmap.c @@ -1,4 +1,4 @@ -#define JEMALLOC_BITMAP_C_ +#define JEMALLOC_BITMAP_C_ #include "jemalloc/internal/jemalloc_internal.h" /******************************************************************************/ diff --git a/src/mutex.c b/src/mutex.c index 55e18c2..788eca3 100644 --- a/src/mutex.c +++ b/src/mutex.c @@ -6,7 +6,7 @@ #endif #ifndef _CRT_SPINCOUNT -#define _CRT_SPINCOUNT 4000 +#define _CRT_SPINCOUNT 4000 #endif /******************************************************************************/ diff --git a/src/stats.c b/src/stats.c index 43f87af..bef2ab3 100644 --- a/src/stats.c +++ b/src/stats.c @@ -345,25 +345,25 @@ stats_print(void (*write_cb)(void *, const char *), void *cbopaque, malloc_cprintf(write_cb, cbopaque, "Assertions %s\n", bv ? "enabled" : "disabled"); -#define OPT_WRITE_BOOL(n) \ +#define OPT_WRITE_BOOL(n) \ if ((err = je_mallctl("opt."#n, &bv, &bsz, NULL, 0)) \ == 0) { \ malloc_cprintf(write_cb, cbopaque, \ " opt."#n": %s\n", bv ? "true" : "false"); \ } -#define OPT_WRITE_SIZE_T(n) \ +#define OPT_WRITE_SIZE_T(n) \ if ((err = je_mallctl("opt."#n, &sv, &ssz, NULL, 0)) \ == 0) { \ malloc_cprintf(write_cb, cbopaque, \ " opt."#n": %zu\n", sv); \ } -#define OPT_WRITE_SSIZE_T(n) \ +#define OPT_WRITE_SSIZE_T(n) \ if ((err = je_mallctl("opt."#n, &ssv, &sssz, NULL, 0)) \ == 0) { \ malloc_cprintf(write_cb, cbopaque, \ " opt."#n": %zd\n", ssv); \ } -#define OPT_WRITE_CHAR_P(n) \ +#define OPT_WRITE_CHAR_P(n) \ if ((err = je_mallctl("opt."#n, &cpv, &cpsz, NULL, 0)) \ == 0) { \ malloc_cprintf(write_cb, cbopaque, \ @@ -331,7 +331,7 @@ malloc_vsnprintf(char *str, size_t size, const char *format, va_list ap) APPEND_C(' '); \ } \ } while (0) -#define GET_ARG_NUMERIC(val, len) do { \ +#define GET_ARG_NUMERIC(val, len) do { \ switch (len) { \ case '?': \ val = va_arg(ap, int); \ |