diff options
author | Jim Meyering <jim@meyering.net> | 2003-01-22 20:46:08 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-01-22 20:46:08 +0000 |
commit | 1f91d7b6de9e8c6b537b52d2f9af7a50a7814e23 (patch) | |
tree | f024384bd8822c08c68c9f9f68fc713ba955b92e | |
parent | 4a4db048f8300fd10b7d432fe4d66d74954cdc37 (diff) | |
download | coreutils-1f91d7b6de9e8c6b537b52d2f9af7a50a7814e23.tar.xz |
(find_object): Don't use c99-style struct initializer.
-rw-r--r-- | lib/ftw.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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; } |