]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - dirent/dirfd.c
Prefer https to http for gnu.org and fsf.org URLs
[thirdparty/glibc.git] / dirent / dirfd.c
index 026421f33bed872e38604920130e6121cb39a20c..294854b839b6215575a6a168ec67919deb0e5e45 100644 (file)
@@ -1,5 +1,5 @@
 /* Return the file descriptor used by a DIR stream.  Stub version.
-   Copyright (C) 1995, 1996 Free Software Foundation, Inc.
+   Copyright (C) 1995-2019 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
 
    You should have received a copy of the GNU Lesser General Public
    License along with the GNU C Library; if not, see
-   <http://www.gnu.org/licenses/>.  */
+   <https://www.gnu.org/licenses/>.  */
 
 #include <dirent.h>
 #include <dirstream.h>
 #include <errno.h>
 
 int
-dirfd (dirp)
-     DIR *dirp;
+__dirfd (DIR *dirp)
 {
   __set_errno (ENOSYS);
   return -1;
 }
 
+weak_alias (__dirfd, dirfd)
 stub_warning (dirfd)
-#include <stub-tag.h>
+libc_hidden_def (dirfd)