This is the mail archive of the libc-hacker@sourceware.org mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Kill warnings in *at.c


Hi!

../sysdeps/unix/sysv/linux/renameat.c: In function 'renameat':
../sysdeps/unix/sysv/linux/renameat.c:38: warning: implicit declaration of function 'strlen'
../sysdeps/unix/sysv/linux/renameat.c:38: warning: incompatible implicit declaration of built-in function 'strlen'
../sysdeps/unix/sysv/linux/renameat.c:57: warning: incompatible implicit declaration of built-in function 'strlen'
etc., fixed thusly.  On ppc32 this should remove one unneeded PLT slot.

2005-11-16  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/unix/sysv/linux/fchownat.c: Include string.h.
	* sysdeps/unix/sysv/linux/futimesat.c: Likewise.
	* sysdeps/unix/sysv/linux/i386/fchownat.c: Likewise.
	* sysdeps/unix/sysv/linux/i386/fxstatat.c: Likewise.
	* sysdeps/unix/sysv/linux/renameat.c: Likewise.
	* sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Likewise.
	* sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
	* sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Likewise.

--- libc/sysdeps/unix/sysv/linux/renameat.c.jj	2005-11-11 20:13:56.000000000 +0100
+++ libc/sysdeps/unix/sysv/linux/renameat.c	2005-11-16 09:02:34.000000000 +0100
@@ -19,6 +19,7 @@
 #include <errno.h>
 #include <fcntl.h>
 #include <stdio.h>
+#include <string.h>
 #include <sysdep.h>
 
 
--- libc/sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c.jj	2005-11-11 20:49:50.000000000 +0100
+++ libc/sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c	2005-11-16 09:05:48.000000000 +0100
@@ -19,6 +19,7 @@
 #include <errno.h>
 #include <fcntl.h>
 #include <stdio.h>
+#include <string.h>
 #include <unistd.h>
 
 #include <sysdep.h>
--- libc/sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c.jj	2005-11-16 09:01:01.000000000 +0100
+++ libc/sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c	2005-11-16 09:06:47.000000000 +0100
@@ -24,6 +24,7 @@
 #include <fcntl.h>
 #include <stddef.h>
 #include <stdio.h>
+#include <string.h>
 #include <sys/stat.h>
 
 #include <sysdep.h>
--- libc/sysdeps/unix/sysv/linux/i386/fchownat.c.jj	2005-11-16 09:02:53.000000000 +0100
+++ libc/sysdeps/unix/sysv/linux/i386/fchownat.c	2005-11-16 09:03:12.000000000 +0100
@@ -19,6 +19,7 @@
 #include <errno.h>
 #include <fcntl.h>
 #include <stdio.h>
+#include <string.h>
 #include <unistd.h>
 
 #include <sysdep.h>
--- libc/sysdeps/unix/sysv/linux/i386/fxstatat.c.jj	2005-11-16 09:01:01.000000000 +0100
+++ libc/sysdeps/unix/sysv/linux/i386/fxstatat.c	2005-11-16 09:05:09.000000000 +0100
@@ -24,6 +24,7 @@
 #include <fcntl.h>
 #include <stddef.h>
 #include <stdio.h>
+#include <string.h>
 #include <sys/stat.h>
 #include <kernel_stat.h>
 
--- libc/sysdeps/unix/sysv/linux/fchownat.c.jj	2005-11-16 09:01:01.000000000 +0100
+++ libc/sysdeps/unix/sysv/linux/fchownat.c	2005-11-16 09:04:17.000000000 +0100
@@ -20,6 +20,7 @@
 #include <fcntl.h>
 #include <stddef.h>
 #include <stdio.h>
+#include <string.h>
 #include <unistd.h>
 #include <sys/types.h>
 
--- libc/sysdeps/unix/sysv/linux/unlinkat.c.jj	2005-11-11 20:14:43.000000000 +0100
+++ libc/sysdeps/unix/sysv/linux/unlinkat.c	2005-11-16 09:06:11.000000000 +0100
@@ -20,6 +20,7 @@
 #include <fcntl.h>
 #include <stddef.h>
 #include <stdio.h>
+#include <string.h>
 #include <unistd.h>
 
 
--- libc/sysdeps/unix/sysv/linux/futimesat.c.jj	2005-11-11 20:09:29.000000000 +0100
+++ libc/sysdeps/unix/sysv/linux/futimesat.c	2005-11-16 09:04:41.000000000 +0100
@@ -20,6 +20,7 @@
 #include <fcntl.h>
 #include <stddef.h>
 #include <stdio.h>
+#include <string.h>
 #include <utime.h>
 #include <sys/time.h>
 #include <sysdep.h>

	Jakub


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]