diff options
author | jasone <jasone@FreeBSD.org> | 2000-03-16 02:14:41 +0000 |
---|---|---|
committer | jasone <jasone@FreeBSD.org> | 2000-03-16 02:14:41 +0000 |
commit | 23c4215cb0e4dd315f6b1873c3004247d76e088a (patch) | |
tree | a5db3308f49350af42e8ac76a1fad86691cde069 /lib/libc/compat-43 | |
parent | d073c75df5afca85c621a7f89f1e1ff45a1835b4 (diff) | |
download | FreeBSD-src-23c4215cb0e4dd315f6b1873c3004247d76e088a.zip FreeBSD-src-23c4215cb0e4dd315f6b1873c3004247d76e088a.tar.gz |
Take care to avoid having "strong" and "weak" symbols of the same name in
libc_r.
Diffstat (limited to 'lib/libc/compat-43')
-rw-r--r-- | lib/libc/compat-43/creat.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libc/compat-43/creat.c b/lib/libc/compat-43/creat.c index 3d17305..42759e7 100644 --- a/lib/libc/compat-43/creat.c +++ b/lib/libc/compat-43/creat.c @@ -51,4 +51,6 @@ __creat(path, mode) return(_open(path, O_WRONLY|O_CREAT|O_TRUNC, mode)); } +#ifndef _THREAD_SAFE __weak_reference(__creat, creat); +#endif |