summaryrefslogtreecommitdiff
path: root/lib/openat.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/openat.h')
-rw-r--r--lib/openat.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/openat.h b/lib/openat.h
index 5c8ff90b804..56919ef8dc4 100644
--- a/lib/openat.h
+++ b/lib/openat.h
@@ -98,12 +98,14 @@ lchmodat (int fd, char const *file, mode_t mode)
# define STATAT_INLINE _GL_INLINE
# endif
+_GL_ATTRIBUTE_DEPRECATED
STATAT_INLINE int
statat (int fd, char const *name, struct stat *st)
{
return fstatat (fd, name, st, 0);
}
+_GL_ATTRIBUTE_DEPRECATED
STATAT_INLINE int
lstatat (int fd, char const *name, struct stat *st)
{