aboutsummaryrefslogtreecommitdiff
path: root/io
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-12-17 00:06:01 +0000
committerUlrich Drepper <drepper@redhat.com>2002-12-17 00:06:01 +0000
commitf83c7164365526788d69128a506d81777e4092b3 (patch)
treeec35618114bf47edeedd194fdf1eb3b0b08a9c0d /io
parent87d60668d692bcb646ffdd20eebcd02632a7e530 (diff)
downloadglibc-f83c7164365526788d69128a506d81777e4092b3.zip
glibc-f83c7164365526788d69128a506d81777e4092b3.tar.gz
glibc-f83c7164365526788d69128a506d81777e4092b3.tar.bz2
Update.
2002-12-16 Art Haas <ahaas@airmail.net> * io/ftw.c: Convert GCC extension initializer syntax to C99.
Diffstat (limited to 'io')
-rw-r--r--io/ftw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/io/ftw.c b/io/ftw.c
index 0b4565f..0ff5947 100644
--- a/io/ftw.c
+++ b/io/ftw.c
@@ -1,5 +1,5 @@
/* File tree walker functions.
- Copyright (C) 1996,1997,1998,1999,2000,2001 Free Software Foundation, Inc.
+ Copyright (C) 1996-2001, 2002 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
@@ -138,7 +138,7 @@ add_object (struct ftw_data *data, struct STAT *st)
static inline int
find_object (struct ftw_data *data, struct STAT *st)
{
- struct known_object obj = { dev: st->st_dev, ino: st->st_ino };
+ struct known_object obj = { .dev = st->st_dev, .ino = st->st_ino };
return __tfind (&obj, &data->known_objects, object_compare) != NULL;
}