libport: Remove the readlink() implementation.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
6d2cf0230e
commit
ee213bcbea
|
@ -17915,7 +17915,6 @@ for ac_func in \
|
|||
posix_fallocate \
|
||||
prctl \
|
||||
proc_pidinfo \
|
||||
readlink \
|
||||
sched_yield \
|
||||
setproctitle \
|
||||
setprogname \
|
||||
|
|
|
@ -2146,7 +2146,6 @@ AC_CHECK_FUNCS(\
|
|||
posix_fallocate \
|
||||
prctl \
|
||||
proc_pidinfo \
|
||||
readlink \
|
||||
sched_yield \
|
||||
setproctitle \
|
||||
setprogname \
|
||||
|
|
|
@ -510,9 +510,6 @@
|
|||
/* Define to 1 if you have the <QuickTime/ImageCompression.h> header file. */
|
||||
#undef HAVE_QUICKTIME_IMAGECOMPRESSION_H
|
||||
|
||||
/* Define to 1 if you have the `readlink' function. */
|
||||
#undef HAVE_READLINK
|
||||
|
||||
/* Define to 1 if the system has the type `request_sense'. */
|
||||
#undef HAVE_REQUEST_SENSE
|
||||
|
||||
|
|
|
@ -99,10 +99,6 @@ static inline const char *dlerror(void) { return "No dlopen support on Windows";
|
|||
* Function definitions (only when using libwine_port)
|
||||
*/
|
||||
|
||||
#ifndef HAVE_READLINK
|
||||
int readlink( const char *path, char *buf, size_t size );
|
||||
#endif /* HAVE_READLINK */
|
||||
|
||||
#ifndef HAVE_SYMLINK
|
||||
int symlink(const char *from, const char *to);
|
||||
#endif
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
STATICLIB = libwine_port.a
|
||||
|
||||
C_SRCS = \
|
||||
readlink.c \
|
||||
symlink.c
|
||||
|
|
|
@ -1,32 +0,0 @@
|
|||
/*
|
||||
* readlink function
|
||||
*
|
||||
* Copyright 2004 Alexandre Julliard
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "wine/port.h"
|
||||
|
||||
#include <errno.h>
|
||||
|
||||
#ifndef HAVE_READLINK
|
||||
int readlink( const char *path, char *buf, size_t size )
|
||||
{
|
||||
errno = -ENOSYS;
|
||||
return -1;
|
||||
}
|
||||
#endif /* HAVE_READLINK */
|
Loading…
Reference in New Issue