From 1f91d7b6de9e8c6b537b52d2f9af7a50a7814e23 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Wed, 22 Jan 2003 20:46:08 +0000 Subject: (find_object): Don't use c99-style struct initializer. --- lib/ftw.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/ftw.c b/lib/ftw.c index 0843c11cf..78daf8a59 100644 --- a/lib/ftw.c +++ b/lib/ftw.c @@ -217,7 +217,9 @@ 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; + obj.dev = st->st_dev; + obj.ino = st->st_ino; return __tfind (&obj, &data->known_objects, object_compare) != NULL; } -- cgit v1.2.3-70-g09d2