summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Hommey <mh@glandium.org>2012-04-30 10:38:25 (GMT)
committerJason Evans <je@fb.com>2012-04-30 23:42:30 (GMT)
commitaf04b744bda40842631d80ad04e1510308b13e54 (patch)
tree51249b395b7fb8176ad21551c083e38b13af4cd0
parent8b49971d0ce0819af78aa2a278c26ecb298ee134 (diff)
downloadjemalloc-af04b744bda40842631d80ad04e1510308b13e54.zip
jemalloc-af04b744bda40842631d80ad04e1510308b13e54.tar.gz
jemalloc-af04b744bda40842631d80ad04e1510308b13e54.tar.bz2
Remove the VOID macro
Windows headers define a VOID macro.
-rw-r--r--src/ctl.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/ctl.c b/src/ctl.c
index 2734604..dddf3be 100644
--- a/src/ctl.c
+++ b/src/ctl.c
@@ -842,11 +842,6 @@ ctl_boot(void)
} \
} while (0)
-#define VOID() do { \
- READONLY(); \
- WRITEONLY(); \
-} while (0)
-
#define READ(v, t) do { \
if (oldp != NULL && oldlenp != NULL) { \
if (*oldlenp != sizeof(t)) { \
@@ -1049,7 +1044,8 @@ thread_tcache_flush_ctl(const size_t *mib, size_t miblen, void *oldp,
if (config_tcache == false)
return (ENOENT);
- VOID();
+ READONLY();
+ WRITEONLY();
tcache_flush();