summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/utime.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/common/utime.c')
-rw-r--r--libc/sysdeps/linux/common/utime.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/utime.c b/libc/sysdeps/linux/common/utime.c
index a9f988a43..c9fd1bfbb 100644
--- a/libc/sysdeps/linux/common/utime.c
+++ b/libc/sysdeps/linux/common/utime.c
@@ -31,4 +31,5 @@ int utime(const char *file, const struct utimbuf *times)
return utimes(file, times ? timevals : NULL);
}
#endif
+link_warning(utime, "the use of OBSOLESCENT `utime' is discouraged, use `utimes'")
libc_hidden_def(utime)