summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-02-13 08:49:12 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-02-13 08:49:12 +0000
commit22826bcb414c9264ea83b3fe4ed76142388c0f93 (patch)
treed4c18ed86980a359b46a15d1fd4a6e56ef5b7f8e /libc
parent72e271600e4f816dd0235df9155a9596f9921555 (diff)
Weaken all that I remember being used in libpthread
Diffstat (limited to 'libc')
-rw-r--r--libc/inet/socketcalls.c16
-rw-r--r--libc/sysdeps/linux/common/__syscall_fcntl.c4
-rw-r--r--libc/sysdeps/linux/common/__syscall_fcntl64.c2
-rw-r--r--libc/sysdeps/linux/common/close.c2
-rw-r--r--libc/sysdeps/linux/common/getpid.c4
-rw-r--r--libc/sysdeps/linux/common/llseek.c2
-rw-r--r--libc/sysdeps/linux/common/lseek.c2
-rw-r--r--libc/sysdeps/linux/common/open.c2
-rw-r--r--libc/sysdeps/linux/common/open64.c2
-rw-r--r--libc/sysdeps/linux/common/read.c2
-rw-r--r--libc/sysdeps/linux/common/write.c2
11 files changed, 20 insertions, 20 deletions
diff --git a/libc/inet/socketcalls.c b/libc/inet/socketcalls.c
index 01db8c319..9a6e2e151 100644
--- a/libc/inet/socketcalls.c
+++ b/libc/inet/socketcalls.c
@@ -52,7 +52,7 @@ int __libc_accept(int s, struct sockaddr *addr, socklen_t * addrlen)
#endif
libc_hidden_proto(accept)
weak_alias(__libc_accept,accept)
-libc_hidden_def(accept)
+libc_hidden_weak(accept)
#endif
#ifdef L_bind
@@ -91,7 +91,7 @@ int __libc_connect(int sockfd, const struct sockaddr *saddr, socklen_t addrlen)
#endif
libc_hidden_proto(connect)
weak_alias(__libc_connect,connect)
-libc_hidden_def(connect)
+libc_hidden_weak(connect)
#endif
#ifdef L_getpeername
@@ -190,7 +190,7 @@ ssize_t __libc_recv(int sockfd, __ptr_t buffer, size_t len, int flags)
#endif
libc_hidden_proto(recv)
weak_alias(__libc_recv,recv)
-libc_hidden_def(recv)
+libc_hidden_weak(recv)
#endif
#ifdef L_recvfrom
@@ -217,7 +217,7 @@ ssize_t __libc_recvfrom(int sockfd, __ptr_t buffer, size_t len, int flags,
#endif
libc_hidden_proto(recvfrom)
weak_alias(__libc_recvfrom,recvfrom)
-libc_hidden_def(recvfrom)
+libc_hidden_weak(recvfrom)
#endif
#ifdef L_recvmsg
@@ -238,7 +238,7 @@ ssize_t __libc_recvmsg(int sockfd, struct msghdr *msg, int flags)
#endif
libc_hidden_proto(recvmsg)
weak_alias(__libc_recvmsg,recvmsg)
-libc_hidden_def(recvmsg)
+libc_hidden_weak(recvmsg)
#endif
#ifdef L_send
@@ -267,7 +267,7 @@ ssize_t __libc_send(int sockfd, const void *buffer, size_t len, int flags)
#endif
libc_hidden_proto(send)
weak_alias(__libc_send,send)
-libc_hidden_def(send)
+libc_hidden_weak(send)
#endif
#ifdef L_sendmsg
@@ -288,7 +288,7 @@ ssize_t __libc_sendmsg(int sockfd, const struct msghdr *msg, int flags)
#endif
libc_hidden_proto(sendmsg)
weak_alias(__libc_sendmsg,sendmsg)
-libc_hidden_def(sendmsg)
+libc_hidden_weak(sendmsg)
#endif
#ifdef L_sendto
@@ -315,7 +315,7 @@ ssize_t __libc_sendto(int sockfd, const void *buffer, size_t len, int flags,
#endif
libc_hidden_proto(sendto)
weak_alias(__libc_sendto,sendto)
-libc_hidden_def(sendto)
+libc_hidden_weak(sendto)
#endif
#ifdef L_setsockopt
diff --git a/libc/sysdeps/linux/common/__syscall_fcntl.c b/libc/sysdeps/linux/common/__syscall_fcntl.c
index d24bd186a..54f99bd31 100644
--- a/libc/sysdeps/linux/common/__syscall_fcntl.c
+++ b/libc/sysdeps/linux/common/__syscall_fcntl.c
@@ -50,10 +50,10 @@ libc_hidden_def(__libc_fcntl)
libc_hidden_proto(fcntl)
weak_alias(__libc_fcntl,fcntl)
-libc_hidden_def(fcntl)
+libc_hidden_weak(fcntl)
#if ! defined __NR_fcntl64 && defined __UCLIBC_HAS_LFS__
strong_alias(__libc_fcntl,__libc_fcntl64)
libc_hidden_proto(fcntl64)
weak_alias(__libc_fcntl,fcntl64)
-libc_hidden_def(fcntl64)
+libc_hidden_weak(fcntl64)
#endif
diff --git a/libc/sysdeps/linux/common/__syscall_fcntl64.c b/libc/sysdeps/linux/common/__syscall_fcntl64.c
index cadeb8470..a1daa7375 100644
--- a/libc/sysdeps/linux/common/__syscall_fcntl64.c
+++ b/libc/sysdeps/linux/common/__syscall_fcntl64.c
@@ -32,5 +32,5 @@ libc_hidden_def(__libc_fcntl64)
libc_hidden_proto(fcntl64)
strong_alias(__libc_fcntl64,fcntl64)
-libc_hidden_def(fcntl64)
+libc_hidden_weak(fcntl64)
#endif
diff --git a/libc/sysdeps/linux/common/close.c b/libc/sysdeps/linux/common/close.c
index 52566acda..9bd11c028 100644
--- a/libc/sysdeps/linux/common/close.c
+++ b/libc/sysdeps/linux/common/close.c
@@ -15,4 +15,4 @@ extern __typeof(close) __libc_close;
_syscall1(int, __libc_close, int, fd);
libc_hidden_proto(close)
weak_alias(__libc_close,close)
-libc_hidden_def(close)
+libc_hidden_weak(close)
diff --git a/libc/sysdeps/linux/common/getpid.c b/libc/sysdeps/linux/common/getpid.c
index a966a531e..fd331bd62 100644
--- a/libc/sysdeps/linux/common/getpid.c
+++ b/libc/sysdeps/linux/common/getpid.c
@@ -17,5 +17,5 @@ extern __typeof(getpid) __libc_getpid;
#define __NR___libc_getpid __NR_getpid
_syscall0(pid_t, __libc_getpid);
libc_hidden_proto(getpid)
-strong_alias(__libc_getpid, getpid)
-libc_hidden_def(getpid)
+weak_alias(__libc_getpid, getpid)
+libc_hidden_weak(getpid)
diff --git a/libc/sysdeps/linux/common/llseek.c b/libc/sysdeps/linux/common/llseek.c
index 6a8d000d2..76354fa15 100644
--- a/libc/sysdeps/linux/common/llseek.c
+++ b/libc/sysdeps/linux/common/llseek.c
@@ -38,5 +38,5 @@ loff_t __libc_lseek64(int fd, loff_t offset, int whence)
#endif
libc_hidden_proto(lseek64)
weak_alias(__libc_lseek64,lseek64)
-libc_hidden_def(lseek64)
+libc_hidden_weak(lseek64)
//strong_alias(__libc_lseek64,_llseek)
diff --git a/libc/sysdeps/linux/common/lseek.c b/libc/sysdeps/linux/common/lseek.c
index bfe91e3bb..72833b81b 100644
--- a/libc/sysdeps/linux/common/lseek.c
+++ b/libc/sysdeps/linux/common/lseek.c
@@ -19,4 +19,4 @@ libc_hidden_def(__libc_lseek)
libc_hidden_proto(lseek)
weak_alias(__libc_lseek,lseek)
-libc_hidden_def(lseek)
+libc_hidden_weak(lseek)
diff --git a/libc/sysdeps/linux/common/open.c b/libc/sysdeps/linux/common/open.c
index e29280cc4..822ac4f63 100644
--- a/libc/sysdeps/linux/common/open.c
+++ b/libc/sysdeps/linux/common/open.c
@@ -40,7 +40,7 @@ libc_hidden_def(__libc_open)
libc_hidden_proto(open)
weak_alias(__libc_open,open)
-libc_hidden_def(open)
+libc_hidden_weak(open)
int creat(const char *file, mode_t mode)
{
diff --git a/libc/sysdeps/linux/common/open64.c b/libc/sysdeps/linux/common/open64.c
index cd4ce64ec..81480f88e 100644
--- a/libc/sysdeps/linux/common/open64.c
+++ b/libc/sysdeps/linux/common/open64.c
@@ -36,5 +36,5 @@ int __libc_open64 (const char *file, int oflag, ...)
}
libc_hidden_proto(open64)
weak_alias(__libc_open64,open64)
-libc_hidden_def(open64)
+libc_hidden_weak(open64)
#endif /* __UCLIBC_HAS_LFS__ */
diff --git a/libc/sysdeps/linux/common/read.c b/libc/sysdeps/linux/common/read.c
index 9dfac1939..236029ac6 100644
--- a/libc/sysdeps/linux/common/read.c
+++ b/libc/sysdeps/linux/common/read.c
@@ -15,4 +15,4 @@ extern __typeof(read) __libc_read;
_syscall3(ssize_t, __libc_read, int, fd, __ptr_t, buf, size_t, count);
libc_hidden_proto(read)
weak_alias(__libc_read,read)
-libc_hidden_def(read)
+libc_hidden_weak(read)
diff --git a/libc/sysdeps/linux/common/write.c b/libc/sysdeps/linux/common/write.c
index 680a5d130..c150808f0 100644
--- a/libc/sysdeps/linux/common/write.c
+++ b/libc/sysdeps/linux/common/write.c
@@ -15,7 +15,7 @@ extern __typeof(write) __libc_write;
_syscall3(ssize_t, __libc_write, int, fd, const __ptr_t, buf, size_t, count);
libc_hidden_proto(write)
weak_alias(__libc_write,write)
-libc_hidden_def(write)
+libc_hidden_weak(write)
#if 0
/* Stupid libgcc.a from gcc 2.95.x uses __write in pure.o
* which is a blatent GNU libc-ism... */