* lib/fstatat.c (orig_fstatat) [!HAVE_WORKING_FSTATAT_ZERO_FLAG]: Omit, as it’s unused in this case. --- ChangeLog | 6 ++++++ lib/fstatat.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog index 87a929791..4bc28d981 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2017-11-05 Paul Eggert <egg...@cs.ucla.edu> + + fstatat: pacify GCC on unusual platform + * lib/fstatat.c (orig_fstatat) [!HAVE_WORKING_FSTATAT_ZERO_FLAG]: + Omit, as it’s unused in this case. + 2017-10-29 Paul Eggert <egg...@cs.ucla.edu> timespec: prefer ‘assume’ to ‘assure’ diff --git a/lib/fstatat.c b/lib/fstatat.c index 67e48d95d..294861f51 100644 --- a/lib/fstatat.c +++ b/lib/fstatat.c @@ -28,7 +28,7 @@ #include <sys/stat.h> #undef __need_system_sys_stat_h -#if HAVE_FSTATAT +#if HAVE_FSTATAT && HAVE_WORKING_FSTATAT_ZERO_FLAG static int orig_fstatat (int fd, char const *filename, struct stat *buf, int flags) { -- 2.13.6