From 99468ed45f5a58f584bab60364af937eb6f8afda Mon Sep 17 00:00:00 2001 From: Adhemerval Zanella Date: Mon, 26 Oct 2020 08:58:01 -0300 Subject: io: Remove xmknod{at} implementations With xmknod wrapper functions removed (589260cef8), the mknod functions are now properly exported, and version is done using symbols versioning instead of the extra _MKNOD_* argument. It also allows us to consolidate Linux and Hurd mknod implementation. Reviewed-by: Lukasz Majewski --- io/mknod.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'io/mknod.c') diff --git a/io/mknod.c b/io/mknod.c index 9eb4a2a..22566b2 100644 --- a/io/mknod.c +++ b/io/mknod.c @@ -15,13 +15,13 @@ License along with the GNU C Library; if not, see . */ -#include #include +#include int __mknod (const char *path, mode_t mode, dev_t dev) { - return __xmknod (_MKNOD_VER, path, mode, &dev); + return __mknodat (AT_FDCWD, path, mode, dev); } libc_hidden_def (__mknod) weak_alias (__mknod, mknod) -- cgit v1.1