Blame SOURCES/glibc-rh1505492-prototypes-Xat.patch

00db10
Introduce prototype-style definitions for various *at functions.
00db10
Upstream, these function definitions were removed in:
00db10
00db10
commit 754a15c61cd6834685386a134d0a0fed5f3ac4c1
00db10
Author: Joseph Myers <joseph@codesourcery.com>
00db10
Date:   Tue Sep 30 14:32:08 2014 +0000
00db10
00db10
    Move some *at definitions to syscalls.list (bug 14138).
00db10
00db10
diff --git a/sysdeps/unix/sysv/linux/fchownat.c b/sysdeps/unix/sysv/linux/fchownat.c
00db10
index 624804fa8cbfd8a1..0673118ad1c72958 100644
00db10
--- a/sysdeps/unix/sysv/linux/fchownat.c
00db10
+++ b/sysdeps/unix/sysv/linux/fchownat.c
00db10
@@ -29,12 +29,7 @@
00db10
 
00db10
 /* Change the owner and group of FILE.  */
00db10
 int
00db10
-fchownat (fd, file, owner, group, flag)
00db10
-     int fd;
00db10
-     const char *file;
00db10
-     uid_t owner;
00db10
-     gid_t group;
00db10
-     int flag;
00db10
+fchownat (int fd, const char *file, uid_t owner, gid_t group, int flag)
00db10
 {
00db10
   int result;
00db10
 
00db10
diff --git a/sysdeps/unix/sysv/linux/futimesat.c b/sysdeps/unix/sysv/linux/futimesat.c
00db10
index e3d034f800dfe61b..77f320d94aef5435 100644
00db10
--- a/sysdeps/unix/sysv/linux/futimesat.c
00db10
+++ b/sysdeps/unix/sysv/linux/futimesat.c
00db10
@@ -29,10 +29,7 @@
00db10
 /* Change the access time of FILE relative to FD to TVP[0] and
00db10
    the modification time of FILE to TVP[1].  */
00db10
 int
00db10
-futimesat (fd, file, tvp)
00db10
-     int fd;
00db10
-     const char *file;
00db10
-     const struct timeval tvp[2];
00db10
+futimesat (int fd, const char *file, const struct timeval tvp[2])
00db10
 {
00db10
   int result;
00db10
 
00db10
diff --git a/sysdeps/unix/sysv/linux/linkat.c b/sysdeps/unix/sysv/linux/linkat.c
00db10
index 90e0a79a7014ab72..0526861c007d773f 100644
00db10
--- a/sysdeps/unix/sysv/linux/linkat.c
00db10
+++ b/sysdeps/unix/sysv/linux/linkat.c
00db10
@@ -27,12 +27,7 @@
00db10
 /* Make a link to FROM named TO but relative paths in TO and FROM are
00db10
    interpreted relative to FROMFD and TOFD respectively.  */
00db10
 int
00db10
-linkat (fromfd, from, tofd, to, flags)
00db10
-     int fromfd;
00db10
-     const char *from;
00db10
-     int tofd;
00db10
-     const char *to;
00db10
-     int flags;
00db10
+linkat (int fromfd, const char *from, int tofd, const char *to, int flags)
00db10
 {
00db10
   int result;
00db10
 
00db10
diff --git a/sysdeps/unix/sysv/linux/mkdirat.c b/sysdeps/unix/sysv/linux/mkdirat.c
00db10
index c5ac40ad70c78b62..3989c13f6d511389 100644
00db10
--- a/sysdeps/unix/sysv/linux/mkdirat.c
00db10
+++ b/sysdeps/unix/sysv/linux/mkdirat.c
00db10
@@ -28,10 +28,7 @@
00db10
 /* Create a new directory with permission bits MODE.  But interpret
00db10
    relative PATH names relative to the directory associated with FD.  */
00db10
 int
00db10
-mkdirat (fd, file, mode)
00db10
-     int fd;
00db10
-     const char *file;
00db10
-     mode_t mode;
00db10
+mkdirat (int fd, const char *file, mode_t mode)
00db10
 {
00db10
   int res;
00db10
 
00db10
diff --git a/sysdeps/unix/sysv/linux/readlinkat.c b/sysdeps/unix/sysv/linux/readlinkat.c
00db10
index 1638cbb38063477e..05ac0c31743e0d09 100644
00db10
--- a/sysdeps/unix/sysv/linux/readlinkat.c
00db10
+++ b/sysdeps/unix/sysv/linux/readlinkat.c
00db10
@@ -29,11 +29,7 @@
00db10
 /* Read the contents of the symbolic link PATH relative to FD into no
00db10
    more than LEN bytes of BUF.  */
00db10
 ssize_t
00db10
-readlinkat (fd, path, buf, len)
00db10
-     int fd;
00db10
-     const char *path;
00db10
-     char *buf;
00db10
-     size_t len;
00db10
+readlinkat (int fd, const char *path, char *buf, size_t len)
00db10
 {
00db10
   int result;
00db10
 
00db10
diff --git a/sysdeps/unix/sysv/linux/renameat.c b/sysdeps/unix/sysv/linux/renameat.c
00db10
index 7623f5230306baaf..6b9e87016b17ab6c 100644
00db10
--- a/sysdeps/unix/sysv/linux/renameat.c
00db10
+++ b/sysdeps/unix/sysv/linux/renameat.c
00db10
@@ -104,11 +104,7 @@ __atfct_seterrno_2 (int errval, int fd1, const char *buf1, int fd2,
00db10
 
00db10
 /* Rename the file OLD relative to OLDFD to NEW relative to NEWFD.  */
00db10
 int
00db10
-renameat (oldfd, old, newfd, new)
00db10
-     int oldfd;
00db10
-     const char *old;
00db10
-     int newfd;
00db10
-     const char *new;
00db10
+renameat (int oldfd, const char *old, int newfd, const char *new)
00db10
 {
00db10
   int result;
00db10
 
00db10
diff --git a/sysdeps/unix/sysv/linux/symlinkat.c b/sysdeps/unix/sysv/linux/symlinkat.c
00db10
index 7e3812914c99ad8c..c8f8be9892dc41db 100644
00db10
--- a/sysdeps/unix/sysv/linux/symlinkat.c
00db10
+++ b/sysdeps/unix/sysv/linux/symlinkat.c
00db10
@@ -28,10 +28,7 @@
00db10
 
00db10
 /* Make a symbolic link to FROM named TO relative to TOFD.  */
00db10
 int
00db10
-symlinkat (from, tofd, to)
00db10
-     const char *from;
00db10
-     int tofd;
00db10
-     const char *to;
00db10
+symlinkat (const char *from, int tofd, const char *to)
00db10
 {
00db10
   int result;
00db10
 
00db10
diff --git a/sysdeps/unix/sysv/linux/unlinkat.c b/sysdeps/unix/sysv/linux/unlinkat.c
00db10
index 7c50a2a914486808..d4beb82b065068f7 100644
00db10
--- a/sysdeps/unix/sysv/linux/unlinkat.c
00db10
+++ b/sysdeps/unix/sysv/linux/unlinkat.c
00db10
@@ -29,10 +29,7 @@
00db10
 
00db10
 /* Remove the link named NAME.  */
00db10
 int
00db10
-unlinkat (fd, file, flag)
00db10
-     int fd;
00db10
-     const char *file;
00db10
-     int flag;
00db10
+unlinkat (int fd, const char *file, int flag)
00db10
 {
00db10
   int result;
00db10