LEGACY was removed for utimes() in SUSv4
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
CSRC := $(filter-out posix_fadvise64.c posix_fadvise.c,$(CSRC))
endif
+ifneq ($(UCLIBC_SUSV4_LEGACY),y)
+CSRC := $(filter-out utime.c,$(CSRC))
+endif
+
ifneq ($(UCLIBC_HAS_EPOLL),y)
CSRC := $(filter-out epoll.c,$(CSRC))
endif
return utimes(file, times ? timevals : NULL);
}
#endif
+link_warning(utime, "the use of OBSOLESCENT `utime' is discouraged, use `utimes'")
libc_hidden_def(utime)
return utime(file, times);
}
#endif
-link_warning(utimes, "the use of LEGACY `utimes' is discouraged, use `utime'")
libc_hidden_def(utimes)