]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gnulib/import/openat.h
Update gnulib
[thirdparty/binutils-gdb.git] / gnulib / import / openat.h
index 70981241b2465f6466797a142c947219272f333f..56919ef8dc47fc16f8df12bc2b75d7e45b7d0b89 100644 (file)
@@ -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)
 {