diff options
author | Daniel Eischen <deischen@FreeBSD.org> | 2001-04-10 04:19:21 +0000 |
---|---|---|
committer | Daniel Eischen <deischen@FreeBSD.org> | 2001-04-10 04:19:21 +0000 |
commit | 437df4859af22264a2c620a3720c776bf0c4a58d (patch) | |
tree | 953269f13c394f2d6c6b0aa9a73344d82f509fc2 /lib/libkse/thread/thr_writev.c | |
parent | 54fd7f685f42878f99a2e2d8428d084f9b1125ab (diff) | |
download | src-437df4859af22264a2c620a3720c776bf0c4a58d.tar.gz src-437df4859af22264a2c620a3720c776bf0c4a58d.zip |
To be consistent, use the __weak_reference macro from <sys/cdefs.h>
instead of #pragma weak to create weak definitions.
Suggested by: bde
Notes
Notes:
svn path=/head/; revision=75369
Diffstat (limited to 'lib/libkse/thread/thr_writev.c')
-rw-r--r-- | lib/libkse/thread/thr_writev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libkse/thread/thr_writev.c b/lib/libkse/thread/thr_writev.c index 66b451fed2d3..c084cd0ed566 100644 --- a/lib/libkse/thread/thr_writev.c +++ b/lib/libkse/thread/thr_writev.c @@ -42,7 +42,7 @@ #include <pthread.h> #include "pthread_private.h" -#pragma weak writev=_writev +__weak_reference(_writev, writev); ssize_t _writev(int fd, const struct iovec * iov, int iovcnt) |