aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2008-07-29 00:26:56 +0000
committerUlrich Drepper <drepper@redhat.com>2008-07-29 00:26:56 +0000
commit300ea0ad5e77c2ee345a5cc1257ea6fe13ad6554 (patch)
treeb69303e2ea842038ad4e8318f9f3321c0cc126d9
parentd6173baaaeec0ea9af68ae41c2bc0f30f77f0128 (diff)
downloadglibc-300ea0ad5e77c2ee345a5cc1257ea6fe13ad6554.tar
glibc-300ea0ad5e77c2ee345a5cc1257ea6fe13ad6554.tar.gz
glibc-300ea0ad5e77c2ee345a5cc1257ea6fe13ad6554.tar.bz2
glibc-300ea0ad5e77c2ee345a5cc1257ea6fe13ad6554.zip
* io/ftw.c (add_object): Remove inline to avoid warning.
-rw-r--r--ChangeLog2
-rw-r--r--io/ftw.c4
2 files changed, 4 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index e7d4aa9b38..76aafc0076 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
2008-07-28 Ulrich Drepper <drepper@redhat.com>
+ * io/ftw.c (add_object): Remove inline to avoid warning.
+
* sysdeps/unix/sysv/linux/paccept.c: Fix compile problem.
* resolv/res_send.c (__libc_res_nsend): Take additional parameter.
diff --git a/io/ftw.c b/io/ftw.c
index 5495bc7ecc..9cc09077ed 100644
--- a/io/ftw.c
+++ b/io/ftw.c
@@ -1,5 +1,5 @@
/* File tree walker functions.
- Copyright (C) 1996-2003, 2004, 2006, 2007 Free Software Foundation, Inc.
+ Copyright (C) 1996-2004, 2006, 2007, 2008 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
@@ -243,7 +243,7 @@ object_compare (const void *p1, const void *p2)
}
-static inline int
+static int
add_object (struct ftw_data *data, struct STAT *st)
{
struct known_object *newp = malloc (sizeof (struct known_object));