summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-04-17 02:59:22 +0000
committerEric Andersen <andersen@codepoet.org>2002-04-17 02:59:22 +0000
commit2ca01addd735883c66ce5a78c37b212d59153ae8 (patch)
tree128fa112e27a3662ca6865016c1931a9e47b3eab
parent844eb437d60ecb547652e9e4107fd0308996717a (diff)
Remove strong aliases to symbols that we don't define in uClibc
-rw-r--r--libpthread/linuxthreads/wrapsyscall.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/libpthread/linuxthreads/wrapsyscall.c b/libpthread/linuxthreads/wrapsyscall.c
index 4075c00bf..fc790c0e6 100644
--- a/libpthread/linuxthreads/wrapsyscall.c
+++ b/libpthread/linuxthreads/wrapsyscall.c
@@ -75,13 +75,13 @@ name param_list \
/* close(2). */
CANCELABLE_SYSCALL (int, close, (int fd), (fd))
-strong_alias (close, __close)
+//strong_alias (close, __close)
/* fcntl(2). */
CANCELABLE_SYSCALL_VA (int, fcntl, (int fd, int cmd, ...),
(fd, cmd, va_arg (ap, long int)), cmd)
-strong_alias (fcntl, __fcntl)
+//strong_alias (fcntl, __fcntl)
/* fsync(2). */
@@ -91,7 +91,7 @@ CANCELABLE_SYSCALL (int, fsync, (int fd), (fd))
/* lseek(2). */
CANCELABLE_SYSCALL (off_t, lseek, (int fd, off_t offset, int whence),
(fd, offset, whence))
-strong_alias (lseek, __lseek)
+//strong_alias (lseek, __lseek)
#ifdef __UCLIBC_HAVE_LFS__
/* lseek64(2). */
@@ -113,14 +113,14 @@ CANCELABLE_SYSCALL (int, nanosleep, (const struct timespec *requested_time,
/* open(2). */
CANCELABLE_SYSCALL_VA (int, open, (const char *pathname, int flags, ...),
(pathname, flags, va_arg (ap, mode_t)), flags)
-strong_alias (open, __open)
+//strong_alias (open, __open)
#ifdef __UCLIBC_HAVE_LFS__
/* open64(3). */
CANCELABLE_SYSCALL_VA (int, open64, (const char *pathname, int flags, ...),
(pathname, flags, va_arg (ap, mode_t)), flags)
-strong_alias (open64, __open64)
+//strong_alias (open64, __open64)
#endif
/* pause(2). */
@@ -139,7 +139,7 @@ CANCELABLE_SYSCALL (ssize_t, pread, (int fd, void *buf, size_t count,
CANCELABLE_SYSCALL (ssize_t, pread64, (int fd, void *buf, size_t count,
off64_t offset),
(fd, buf, count, offset))
-strong_alias (pread64, __pread64)
+//strong_alias (pread64, __pread64)
#endif
/* pwrite(3). */
@@ -153,13 +153,13 @@ CANCELABLE_SYSCALL (ssize_t, pwrite, (int fd, const void *buf, size_t n,
CANCELABLE_SYSCALL (ssize_t, pwrite64, (int fd, const void *buf, size_t n,
off64_t offset),
(fd, buf, n, offset))
-strong_alias (pwrite64, __pwrite64)
+//strong_alias (pwrite64, __pwrite64)
#endif
/* read(2). */
CANCELABLE_SYSCALL (ssize_t, read, (int fd, void *buf, size_t count),
(fd, buf, count))
-strong_alias (read, __read)
+//strong_alias (read, __read)
/* system(3). */
@@ -172,7 +172,7 @@ CANCELABLE_SYSCALL (int, tcdrain, (int fd), (fd))
/* wait(2). */
CANCELABLE_SYSCALL (__pid_t, wait, (__WAIT_STATUS_DEFN stat_loc), (stat_loc))
-strong_alias (wait, __wait)
+//strong_alias (wait, __wait)
/* waitpid(2). */
@@ -184,7 +184,7 @@ CANCELABLE_SYSCALL (__pid_t, waitpid, (__pid_t pid, int *stat_loc,
/* write(2). */
CANCELABLE_SYSCALL (ssize_t, write, (int fd, const void *buf, size_t n),
(fd, buf, n))
-strong_alias (write, __write)
+//strong_alias (write, __write)
/* The following system calls are thread cancellation points specified
@@ -199,7 +199,7 @@ CANCELABLE_SYSCALL (int, accept, (int fd, __SOCKADDR_ARG addr,
CANCELABLE_SYSCALL (int, connect, (int fd, __CONST_SOCKADDR_ARG addr,
socklen_t len),
(fd, addr, len))
-strong_alias (connect, __connect)
+//strong_alias (connect, __connect)
/* recv(2). */
CANCELABLE_SYSCALL (ssize_t, recv, (int fd, __ptr_t buf, size_t n, int flags),
@@ -218,7 +218,7 @@ CANCELABLE_SYSCALL (ssize_t, recvmsg, (int fd, struct msghdr *message, int flags
CANCELABLE_SYSCALL (ssize_t, send, (int fd, const __ptr_t buf, size_t n,
int flags),
(fd, buf, n, flags))
-strong_alias (send, __send)
+//strong_alias (send, __send)
/* sendmsg(2). */
CANCELABLE_SYSCALL (ssize_t, sendmsg, (int fd, const struct msghdr *message,