]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
* sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
authorYury Norov <ynorov@caviumnetworks.com>
Mon, 24 Oct 2016 21:36:53 +0000 (14:36 -0700)
committerSteve Ellcey <sellcey@caviumnetworks.com>
Mon, 24 Oct 2016 21:36:53 +0000 (14:36 -0700)
* sysdeps/unix/sysv/linux/lxstat.c: Likewise.
* sysdeps/unix/sysv/linux/xstat.c: Likewise.
* sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
* sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
* sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.

ChangeLog
sysdeps/unix/sysv/linux/fxstat.c
sysdeps/unix/sysv/linux/i386/fxstat.c
sysdeps/unix/sysv/linux/i386/lxstat.c
sysdeps/unix/sysv/linux/i386/xstat.c
sysdeps/unix/sysv/linux/lxstat.c
sysdeps/unix/sysv/linux/xstat.c

index a1a7b31a7e86fbf4d4dfec6e4482cf8d8d7c21d3..c0fcabf517de7c99b22c6dfe72d169f832d80e2e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
+
+       * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
+       * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
+       * sysdeps/unix/sysv/linux/xstat.c: Likewise.
+       * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
+       * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
+       * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
+
 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
 
        * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
index 858679dd55ed3feaf16470539192468ee5d9fc2e..e33023bc67cdcbbf53e6fd3ea5ed0b96e622f27b 100644 (file)
@@ -36,7 +36,7 @@ int
 __fxstat (int vers, int fd, struct stat *buf)
 {
   if (vers == _STAT_VER_KERNEL)
-    return INLINE_SYSCALL (fstat, 2, fd, (struct kernel_stat *) buf);
+    return INLINE_SYSCALL (fstat, 2, fd, buf);
 
 #ifdef STAT_IS_KERNEL_STAT
   return INLINE_SYSCALL_ERROR_RETURN_VALUE (EINVAL);
index c1a7613ca7a46b5e3a21339f54cb49516e4ddec0..b21dced00aeaaf3c98349c3818c0498b245471b1 100644 (file)
@@ -37,7 +37,7 @@ __fxstat (int vers, int fd, struct stat *buf)
   int result;
 
   if (vers == _STAT_VER_KERNEL)
-    return INLINE_SYSCALL (fstat, 2, fd, (struct kernel_stat *) buf);
+    return INLINE_SYSCALL (fstat, 2, fd, buf);
 
   {
     struct stat64 buf64;
index 3ddaf74c8fe0f7972f7d172a4d0d4284a29c3058..445d154f46c318901de09756f85adebb01d4c509 100644 (file)
@@ -38,7 +38,7 @@ __lxstat (int vers, const char *name, struct stat *buf)
   int result;
 
   if (vers == _STAT_VER_KERNEL)
-    return INLINE_SYSCALL (lstat, 2, name, (struct kernel_stat *) buf);
+    return INLINE_SYSCALL (lstat, 2, name, buf);
 
   {
     struct stat64 buf64;
index eb8549944be8d16512447623f196eb7b79b7fc90..915a80e82085038b803db28e2f2bed98ef95ee15 100644 (file)
@@ -38,7 +38,7 @@ __xstat (int vers, const char *name, struct stat *buf)
   int result;
 
   if (vers == _STAT_VER_KERNEL)
-    return INLINE_SYSCALL (stat, 2, name, (struct kernel_stat *) buf);
+    return INLINE_SYSCALL (stat, 2, name, buf);
 
   {
     struct stat64 buf64;
index e36204aa1b797af6eb5ca2b6336ba218d6bc93ae..c8bf06d1eb2b636f6852b06201df520e795295c0 100644 (file)
@@ -35,7 +35,7 @@ int
 __lxstat (int vers, const char *name, struct stat *buf)
 {
   if (vers == _STAT_VER_KERNEL)
-    return INLINE_SYSCALL (lstat, 2, name, (struct kernel_stat *) buf);
+    return INLINE_SYSCALL (lstat, 2, name, buf);
 
 #ifdef STAT_IS_KERNEL_STAT
   return INLINE_SYSCALL_ERROR_RETURN_VALUE (EINVAL);
index b8b075023ccbc97f9544d0bd8678a23090224364..cbd5aeb1d28a10ea8f3d6ce5b5b64e017077c3d9 100644 (file)
@@ -35,7 +35,7 @@ int
 __xstat (int vers, const char *name, struct stat *buf)
 {
   if (vers == _STAT_VER_KERNEL)
-    return INLINE_SYSCALL (stat, 2, name, (struct kernel_stat *) buf);
+    return INLINE_SYSCALL (stat, 2, name, buf);
 
 #ifdef STAT_IS_KERNEL_STAT
   return INLINE_SYSCALL_ERROR_RETURN_VALUE (EINVAL);