]> xenbits.xen.org Git - xenclient/uclibc.git/commitdiff
add-__x-functions.patch
authorVincent Hanquez <vincent.hanquez@eu.citrix.com>
Mon, 9 Feb 2009 17:22:43 +0000 (17:22 +0000)
committerVincent Hanquez <vincent.hanquez@eu.citrix.com>
Mon, 9 Feb 2009 17:22:43 +0000 (17:22 +0000)
libc/sysdeps/linux/common/fstat64.c
libc/sysdeps/linux/common/lstat64.c
libc/sysdeps/linux/common/mknod.c
libc/sysdeps/linux/common/stat.c
libc/sysdeps/linux/common/stat64.c

index 5dfb23d628e1893076bc5e62ed5b61ef84250b87..102d24e3a7e7f5b1a0ce767a9a0f2e90ad38c7db 100644 (file)
@@ -32,4 +32,9 @@ int fstat64(int fd, struct stat64 *buf)
        return result;
 }
 libc_hidden_def(fstat64)
+
+int __fxstat64(int version, int fd, struct stat64 *buf)
+{
+       return fstat64(fd, buf);
+}
 #endif
index 97e9528c1551035b897ebc445b0439fb33c4c40c..cbe6d9add494fd71c8c38dd49bbdbb70fbf389cc 100644 (file)
@@ -33,4 +33,9 @@ int lstat64(const char *file_name, struct stat64 *buf)
 }
 libc_hidden_def(lstat64)
 
+
+int __lxstat64(int version, const char *file_name, struct stat64 *buf)
+{
+       return lstat64(file_name, buf);
+}
 #endif
index b0f07b12d2435ba1e727acbf9f8f95f1b3f09827..7768270667e67e91ec7bceae962a59351b37e0e9 100644 (file)
@@ -26,3 +26,8 @@ int mknod(const char *path, mode_t mode, dev_t dev)
        return __syscall_mknod(path, mode, k_dev);
 }
 libc_hidden_def(mknod)
+
+int __xmknod(int version, const char *path, mode_t mode, dev_t dev)
+{
+       return mknod(path, mode, dev);
+}
index 160f38aab699826fd1270afac97c018fdf8fe9be..f9429fe7baf92d3da8841fc8a69f1f49aebd00db 100644 (file)
@@ -38,6 +38,11 @@ int stat(const char *file_name, struct stat *buf)
 }
 libc_hidden_def(stat)
 
+int __xstat(int version, const *file_name, struct stat *buf)
+{
+       return stat(file_name, buf);
+}
+
 #if ! defined __NR_stat64 && defined __UCLIBC_HAS_LFS__
 extern __typeof(stat) stat64;
 libc_hidden_proto(stat64)
index c9ba2bc63349aba97cf006be5fe0e0e083b360a6..eff443ddcc61e0954ae218519d512ae39bdb8416 100644 (file)
@@ -32,4 +32,10 @@ int stat64(const char *file_name, struct stat64 *buf)
        return result;
 }
 libc_hidden_def(stat64)
+
+int __xstat64(int version, const char *file_name, struct stat64 *buf)
+{
+       return stat64(file_name, buf);
+}
+
 #endif