summaryrefslogtreecommitdiff
path: root/gnulib/import/openat.h
diff options
context:
space:
mode:
Diffstat (limited to 'gnulib/import/openat.h')
-rw-r--r--gnulib/import/openat.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/gnulib/import/openat.h b/gnulib/import/openat.h
index 70981241b24..56919ef8dc4 100644
--- a/gnulib/import/openat.h
+++ b/gnulib/import/openat.h
@@ -1,9 +1,9 @@
/* provide a replacement openat function
- Copyright (C) 2004-2006, 2008-2021 Free Software Foundation, Inc.
+ Copyright (C) 2004-2006, 2008-2022 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
+ the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
@@ -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)
{