summaryrefslogtreecommitdiff
path: root/libc/misc/dirent/closedir.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-12-08 14:17:36 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-12-08 14:17:36 +0000
commit942357a798dd789d081616ce696f1221f7d27dd2 (patch)
treea09bd1888870becbf5b9a7ffd5dc0f4eb3d2bbb9 /libc/misc/dirent/closedir.c
parent55829cec8a8bd99c1129e58e18222382a1e96823 (diff)
Implement __x versions
Diffstat (limited to 'libc/misc/dirent/closedir.c')
-rw-r--r--libc/misc/dirent/closedir.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/misc/dirent/closedir.c b/libc/misc/dirent/closedir.c
index 25c424566..8066b5861 100644
--- a/libc/misc/dirent/closedir.c
+++ b/libc/misc/dirent/closedir.c
@@ -4,8 +4,7 @@
#include <unistd.h>
#include "dirstream.h"
-
-int closedir(DIR * dir)
+int attribute_hidden __closedir(DIR * dir)
{
int fd;
@@ -27,3 +26,4 @@ int closedir(DIR * dir)
free(dir);
return __close(fd);
}
+strong_alias(__closedir,closedir)