public inbox for libc-hacker@sourceware.org
 help / color / mirror / Atom feed
From: Jakub Jelinek <jakub@redhat.com>
To: Ulrich Drepper <drepper@redhat.com>
Cc: Glibc hackers <libc-hacker@sources.redhat.com>
Subject: [PATCH] Kill warnings in *at.c
Date: Wed, 16 Nov 2005 08:11:00 -0000	[thread overview]
Message-ID: <20051116081112.GK16723@sunsite.mff.cuni.cz> (raw)

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

                 reply	other threads:[~2005-11-16  8:11 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20051116081112.GK16723@sunsite.mff.cuni.cz \
    --to=jakub@redhat.com \
    --cc=drepper@redhat.com \
    --cc=libc-hacker@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).