aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-06-17 16:55:29 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-06-17 16:55:29 -0700
commit8809c8673fdc31cfe3a5f0eec6e4fbf954743fe3 (patch)
tree31bd280182dada5006e1a351834b5a9b37a0c632
parent2b17515b6860c22854d0794899a2b9d30f3dbc1b (diff)
parent80e72facb82bb64a00098202afa6c03cc380b56e (diff)
Merge pull request #1303 from inolen/warn_symbol
Fix warn alias
-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")));