aboutsummaryrefslogtreecommitdiff
path: root/system/lib
diff options
context:
space:
mode:
authorAnthony Pesch <inolen@gmail.com>2013-06-17 10:40:00 -0700
committerAnthony Pesch <inolen@gmail.com>2013-06-17 10:50:12 -0700
commit80e72facb82bb64a00098202afa6c03cc380b56e (patch)
tree94eeb55820feb2a2dbfbaa7d118e60b9e5e63d4b /system/lib
parent6d16097a437b58c7e5451128658044998fa1da9d (diff)
fix weak alias for warn
Diffstat (limited to 'system/lib')
-rw-r--r--system/lib/libc.symbols2
-rw-r--r--system/lib/libc/gen/warn.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/system/lib/libc.symbols b/system/lib/libc.symbols
index 70b21024..561f01c1 100644
--- a/system/lib/libc.symbols
+++ b/system/lib/libc.symbols
@@ -77,5 +77,5 @@
W verrx
W vwarn
W vwarnx
- W warn1
+ W warn
W warnx
diff --git a/system/lib/libc/gen/warn.c b/system/lib/libc/gen/warn.c
index c0803ab9..c0dd2cd7 100644
--- a/system/lib/libc/gen/warn.c
+++ b/system/lib/libc/gen/warn.c
@@ -46,4 +46,4 @@ _warn(const char *fmt, ...)
/* PRINTFLIKE1 */
void
-warn(const char *fmt, ...) __attribute__((weak, alias("warn")));
+warn(const char *fmt, ...) __attribute__((weak, alias("_warn")));