]> Zhao Yanbai Git Server - minix.git/commitdiff
library fixes for symlink, readlink and lstat
authorBen Gras <ben@minix3.org>
Tue, 1 Nov 2005 13:13:31 +0000 (13:13 +0000)
committerBen Gras <ben@minix3.org>
Tue, 1 Nov 2005 13:13:31 +0000 (13:13 +0000)
lib/posix/Makefile
lib/posix/_lstat.c [moved from lib/posix/lstat.c with 100% similarity]
lib/posix/_readlink.c [moved from lib/posix/readlink.c with 91% similarity]
lib/posix/_symlink.c [moved from lib/posix/symlink.c with 100% similarity]

index e9262eca63883daf93c92b36803c2a6e8c39aac0..e527dae519b3fefd0d5ca08b85c1e15535365e3a 100755 (executable)
@@ -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
similarity index 100%
rename from lib/posix/lstat.c
rename to lib/posix/_lstat.c
similarity index 91%
rename from lib/posix/readlink.c
rename to lib/posix/_readlink.c
index 3243c93bb74e5f1146c6a5c58eb8f31e5953c454..f1ce536e1cb14db77fb30b697d50f97bb90fb857 100644 (file)
@@ -1,4 +1,5 @@
 #include <lib.h>
+#define readlink _readlink
 #include <unistd.h>
 #include <string.h>
 
similarity index 100%
rename from lib/posix/symlink.c
rename to lib/posix/_symlink.c