]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - dirent/dirfd.c
powerpc: fma using builtins
[thirdparty/glibc.git] / dirent / dirfd.c
index 516f886be8f1dc226348640bbe0ead6b58687b91..bd8c1dc6b86c534fd005c037549f1654e101be3c 100644 (file)
@@ -1,5 +1,5 @@
 /* Return the file descriptor used by a DIR stream.  Stub version.
-   Copyright (C) 1995-2015 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
 #include <errno.h>
 
 int
-dirfd (dirp)
-     DIR *dirp;
+__dirfd (DIR *dirp)
 {
   __set_errno (ENOSYS);
   return -1;
 }
 
+weak_alias (__dirfd, dirfd)
 stub_warning (dirfd)
+libc_hidden_def (dirfd)