diff --git a/lib/libc/gen/Symbol.map b/lib/libc/gen/Symbol.map index 42404bcc277c..c21e93696a87 100644 --- a/lib/libc/gen/Symbol.map +++ b/lib/libc/gen/Symbol.map @@ -296,7 +296,6 @@ FBSD_1.0 { tcflow; ualarm; ulimit; - uname; unvis; strunvis; strunvisx; diff --git a/lib/libc/gen/uname.c b/lib/libc/gen/uname.c index 5a7baf7c3210..5f8422ae78e6 100644 --- a/lib/libc/gen/uname.c +++ b/lib/libc/gen/uname.c @@ -33,15 +33,15 @@ static char sccsid[] = "From: @(#)uname.c 8.1 (Berkeley) 1/4/94"; #include __FBSDID("$FreeBSD$"); -#define uname wrapped_uname #include #include #include #include -#undef uname int -uname(struct utsname *name) +__uname(struct utsname *name) { return __xuname(32, name); } + +__sym_compat(uname, __uname, FBSD_1.0);