summaryrefslogtreecommitdiff
path: root/libc/misc/dirent
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-01-14 19:45:02 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-01-14 19:45:02 +0000
commit6f7dc709ed7e403af224b0fbb91e9619629eb2ec (patch)
tree349296ed6e3d73f390409bf96fa4269d1ac20ec7 /libc/misc/dirent
parent2d997660372123ab6ac1ee519b22fe015eaa787b (diff)
make DODEBUG=y happy, update sysdeps/common/* copyright
Diffstat (limited to 'libc/misc/dirent')
-rw-r--r--libc/misc/dirent/dirfd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libc/misc/dirent/dirfd.c b/libc/misc/dirent/dirfd.c
index 236614642..c6f46e965 100644
--- a/libc/misc/dirent/dirfd.c
+++ b/libc/misc/dirent/dirfd.c
@@ -8,6 +8,8 @@
#include <errno.h>
#include "dirstream.h"
+libc_hidden_proto(dirfd)
+
int dirfd(DIR * dir)
{
if (!dir || dir->dd_fd == -1) {
@@ -17,5 +19,4 @@ int dirfd(DIR * dir)
return dir->dd_fd;
}
-libc_hidden_proto(dirfd)
libc_hidden_def(dirfd)