From: Ben Gras Date: Fri, 8 Feb 2013 21:40:57 +0000 (+0000) Subject: add opendir alias X-Git-Tag: v3.2.1~21 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/mdoc.3.txt?a=commitdiff_plain;h=refs%2Fchanges%2F20%2F320%2F2;p=minix.git add opendir alias Change-Id: Ib121e763bac7bea44a2f2533c454ff7d9361dc8d --- diff --git a/lib/libc/gen/opendir.c b/lib/libc/gen/opendir.c index 76845017a..f6c8e02e0 100644 --- a/lib/libc/gen/opendir.c +++ b/lib/libc/gen/opendir.c @@ -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. */