aboutsummaryrefslogtreecommitdiff
path: root/tools/build/libc-bootstrap/namespace.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/build/libc-bootstrap/namespace.h')
-rw-r--r--tools/build/libc-bootstrap/namespace.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/build/libc-bootstrap/namespace.h b/tools/build/libc-bootstrap/namespace.h
index 73e27f8cb02b..2c242f88072d 100644
--- a/tools/build/libc-bootstrap/namespace.h
+++ b/tools/build/libc-bootstrap/namespace.h
@@ -45,7 +45,9 @@
#define _writev(a, b, c) writev(a, b, c)
#define _fsync(a) fsync(a)
#define _getprogname() getprogname()
-#define _err(...) err(__VA_ARGS__)
+/* These two need to be renamed to build libc/gen/err.c */
+#define err _err
+#define warn _warn
#define _pthread_mutex_unlock pthread_mutex_unlock
#define _pthread_mutex_lock pthread_mutex_lock