summaryrefslogtreecommitdiff
path: root/src/internal/libc.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/internal/libc.h')
-rw-r--r--src/internal/libc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/internal/libc.h b/src/internal/libc.h
index 3350b3d1..d625b56a 100644
--- a/src/internal/libc.h
+++ b/src/internal/libc.h
@@ -53,8 +53,8 @@ void __lock(volatile int *) ATTR_LIBC_VISIBILITY;
void __unlock(volatile int *) ATTR_LIBC_VISIBILITY;
int __lockfile(FILE *) ATTR_LIBC_VISIBILITY;
void __unlockfile(FILE *) ATTR_LIBC_VISIBILITY;
-#define LOCK(x) (libc.threads_minus_1 ? (__lock(x),1) : ((void)(x),1))
-#define UNLOCK(x) (libc.threads_minus_1 ? (__unlock(x),1) : ((void)(x),1))
+#define LOCK(x) __lock(x)
+#define UNLOCK(x) __unlock(x)
void __synccall(void (*)(void *), void *);
int __setxid(int, int, int, int);