From: Rich Felker Date: Sun, 22 Jun 2014 04:37:12 +0000 (-0400) Subject: add __xmknod and __xmknodat abi-compat functions X-Git-Tag: v1.1.3~7 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=1fd0f6e31f157cc9be115c29f0c537d8a225cc86;p=oweals%2Fmusl.git add __xmknod and __xmknodat abi-compat functions these are put alongside the similar functions for __xstat, etc. in __xstat.c to avoid bloating the number of source files. --- diff --git a/src/stat/__xstat.c b/src/stat/__xstat.c index 8138cbe8..73c873ae 100644 --- a/src/stat/__xstat.c +++ b/src/stat/__xstat.c @@ -25,3 +25,13 @@ LFS64(__fxstat); LFS64(__fxstatat); LFS64(__lxstat); LFS64(__xstat); + +int __xmknod(int ver, const char *path, mode_t mode, dev_t *dev) +{ + return mknod(path, mode, *dev); +} + +int __xmknodat(int ver, int fd, const char *path, mode_t mode, dev_t *dev) +{ + return mknodat(fd, path, mode, *dev); +}