* [PATCH] Kill warnings in *at.c
@ 2005-11-16 8:11 Jakub Jelinek
0 siblings, 0 replies; only message in thread
From: Jakub Jelinek @ 2005-11-16 8:11 UTC (permalink / raw)
To: Ulrich Drepper; +Cc: Glibc hackers
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-11-16 8:11 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-16 8:11 [PATCH] Kill warnings in *at.c Jakub Jelinek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).