]> Zhao Yanbai Git Server - minix.git/commitdiff
add opendir alias 20/320/2
authorBen Gras <ben@minix3.org>
Fri, 8 Feb 2013 21:40:57 +0000 (21:40 +0000)
committerBen Gras <ben@minix3.org>
Fri, 8 Feb 2013 21:40:57 +0000 (21:40 +0000)
Change-Id: Ib121e763bac7bea44a2f2533c454ff7d9361dc8d

lib/libc/gen/opendir.c

index 76845017a3999bda6f09787eb8379c82ee27f0d7..f6c8e02e07697c6743bbc9fe4ae4f54a405f9820 100644 (file)
@@ -71,6 +71,10 @@ static DIR   *__opendir_common(int, const char *, int);
 
 __weak_alias(fdopendir,_fdopendir)
 
+#ifdef __weak_alias
+__weak_alias(opendir,__opendir230)
+#endif
+
 /*
  * Open a directory.
  */