diff options
author | Anthony Pesch <inolen@gmail.com> | 2013-06-17 10:40:00 -0700 |
---|---|---|
committer | Anthony Pesch <inolen@gmail.com> | 2013-06-17 10:50:12 -0700 |
commit | 80e72facb82bb64a00098202afa6c03cc380b56e (patch) | |
tree | 94eeb55820feb2a2dbfbaa7d118e60b9e5e63d4b /system | |
parent | 6d16097a437b58c7e5451128658044998fa1da9d (diff) |
fix weak alias for warn
Diffstat (limited to 'system')
-rw-r--r-- | system/lib/libc.symbols | 2 | ||||
-rw-r--r-- | system/lib/libc/gen/warn.c | 2 |
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"))); |