path: root/src/stat/__lxstat.c
diff options
authorRich Felker <>2014-06-22 00:29:32 -0400
committerRich Felker <>2014-06-22 00:29:32 -0400
commit76f2bcc7d673d0a1b06ea4b2545b4096979ad518 (patch)
tree3e42eba2c2fa2c6d54bd5d16ee83b5be9464e571 /src/stat/__lxstat.c
parent5474a346691c2c7483b40bc4595017c3df5a7aa1 (diff)
consolidate __xstat abi-compat functions into a single source file
these are mostly intended for use with dynamic linking (although they can also be used statically with object files compiled against glibc headers), so having them broken down into separate source files to optimize for static linking is unlikely to be worth the cost having more files in the source tree (which contributes to libc.a overhead, compile time, link time, ar/linker command line size exhaustion, and so on).
Diffstat (limited to 'src/stat/__lxstat.c')
1 files changed, 0 insertions, 9 deletions
diff --git a/src/stat/__lxstat.c b/src/stat/__lxstat.c
deleted file mode 100644
index e9992ed2..00000000
--- a/src/stat/__lxstat.c
+++ /dev/null
@@ -1,9 +0,0 @@
-#include <sys/stat.h>
-#include "libc.h"
-int __lxstat(int ver, const char *path, struct stat *buf)
- return lstat(path, buf);