From: Ben Gras Date: Tue, 1 Nov 2005 13:13:31 +0000 (+0000) Subject: library fixes for symlink, readlink and lstat X-Git-Tag: v3.1.2a~534 X-Git-Url: http://zhaoyanbai.com/repos/%22https:/www.google.com/jsapi/static/mdoc.3.html?a=commitdiff_plain;h=94d370ca5fbfa219183a920fe8f65d0e094ec1b3;p=minix.git library fixes for symlink, readlink and lstat --- diff --git a/lib/posix/Makefile b/lib/posix/Makefile index e9262eca6..e527dae51 100755 --- a/lib/posix/Makefile +++ b/lib/posix/Makefile @@ -94,10 +94,10 @@ libc_OBJECTS = \ _write.o \ gettimeofday.o \ getopt.o \ - lstat.o \ + _lstat.o \ priority.o \ - readlink.o \ - symlink.o \ + _readlink.o \ + _symlink.o \ usleep.o \ include ../Makefile.inc diff --git a/lib/posix/lstat.c b/lib/posix/_lstat.c similarity index 100% rename from lib/posix/lstat.c rename to lib/posix/_lstat.c diff --git a/lib/posix/readlink.c b/lib/posix/_readlink.c similarity index 91% rename from lib/posix/readlink.c rename to lib/posix/_readlink.c index 3243c93bb..f1ce536e1 100644 --- a/lib/posix/readlink.c +++ b/lib/posix/_readlink.c @@ -1,4 +1,5 @@ #include +#define readlink _readlink #include #include diff --git a/lib/posix/symlink.c b/lib/posix/_symlink.c similarity index 100% rename from lib/posix/symlink.c rename to lib/posix/_symlink.c