diff options
Diffstat (limited to 'sysdeps/posix/dirfd.c')
-rw-r--r-- | sysdeps/posix/dirfd.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sysdeps/posix/dirfd.c b/sysdeps/posix/dirfd.c index fee8326..ce779c5 100644 --- a/sysdeps/posix/dirfd.c +++ b/sysdeps/posix/dirfd.c @@ -22,7 +22,9 @@ #undef dirfd int -dirfd (DIR *dirp) +__dirfd (DIR *dirp) { return dirp->fd; } + +weak_alias (__dirfd, dirfd) |