From 94d370ca5fbfa219183a920fe8f65d0e094ec1b3 Mon Sep 17 00:00:00 2001 From: Ben Gras Date: Tue, 1 Nov 2005 13:13:31 +0000 Subject: [PATCH] library fixes for symlink, readlink and lstat --- lib/posix/Makefile | 6 +++--- lib/posix/{lstat.c => _lstat.c} | 0 lib/posix/{readlink.c => _readlink.c} | 1 + lib/posix/{symlink.c => _symlink.c} | 0 4 files changed, 4 insertions(+), 3 deletions(-) rename lib/posix/{lstat.c => _lstat.c} (100%) rename lib/posix/{readlink.c => _readlink.c} (91%) rename lib/posix/{symlink.c => _symlink.c} (100%) 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 -- 2.44.0