diff --git a/lib/libc/include/compat.h b/lib/libc/include/compat.h --- a/lib/libc/include/compat.h +++ b/lib/libc/include/compat.h @@ -74,8 +74,6 @@ #define __weak_reference(sym,alias) \ .weak alias;.equ alias,sym -__weak_reference(__sys_fcntl, __fcntl_compat) - #undef __weak_reference #endif /* __LIBC_COMPAT_H__ */ diff --git a/lib/libc/include/libc_private.h b/lib/libc/include/libc_private.h --- a/lib/libc/include/libc_private.h +++ b/lib/libc/include/libc_private.h @@ -418,7 +418,6 @@ int * restrict sig); int __libc_system(const char *); int __libc_tcdrain(int); -int __fcntl_compat(int fd, int cmd, ...); int __sys_futimens(int fd, const struct timespec *times) __hidden; int __sys_utimensat(int fd, const char *path,