diff options
Diffstat (limited to 'sysdeps/posix/dirfd.c')
-rw-r--r-- | sysdeps/posix/dirfd.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sysdeps/posix/dirfd.c b/sysdeps/posix/dirfd.c index 1630f8987b..f47aafd83a 100644 --- a/sysdeps/posix/dirfd.c +++ b/sysdeps/posix/dirfd.c @@ -1,5 +1,5 @@ /* Return the file descriptor used by a DIR stream. Unix version. - Copyright (C) 1995-2015 Free Software Foundation, Inc. + Copyright (C) 1995-2016 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 @@ -22,8 +22,7 @@ #undef dirfd int -dirfd (dirp) - DIR *dirp; +dirfd (DIR *dirp) { return dirp->fd; } |