Remove the VOID macro

Windows headers define a VOID macro.
This commit is contained in:
Mike Hommey 2012-04-30 12:38:25 +02:00 committed by Jason Evans
parent 8b49971d0c
commit af04b744bd

View File

@ -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();