summaryrefslogtreecommitdiff
path: root/libc/misc/dirent/opendir.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/opendir.c
parent55829cec8a8bd99c1129e58e18222382a1e96823 (diff)
Implement __x versions
Diffstat (limited to 'libc/misc/dirent/opendir.c')
-rw-r--r--libc/misc/dirent/opendir.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libc/misc/dirent/opendir.c b/libc/misc/dirent/opendir.c
index fd14213a5..5c9762f85 100644
--- a/libc/misc/dirent/opendir.c
+++ b/libc/misc/dirent/opendir.c
@@ -11,7 +11,7 @@
/* opendir just makes an open() call - it return NULL if it fails
* (open sets errno), otherwise it returns a DIR * pointer.
*/
-DIR *opendir(const char *name)
+DIR attribute_hidden *__opendir(const char *name)
{
int fd;
struct stat statbuf;
@@ -54,3 +54,4 @@ DIR *opendir(const char *name)
__pthread_mutex_init(&(ptr->dd_lock), NULL);
return ptr;
}
+strong_alias(__opendir,opendir)