diff options
author | jb <jb@FreeBSD.org> | 1998-06-09 08:35:42 +0000 |
---|---|---|
committer | jb <jb@FreeBSD.org> | 1998-06-09 08:35:42 +0000 |
commit | 2d48c5402092376dfbf65b2e19ae072943505eee (patch) | |
tree | 9649e438dc3f1a70332716b44375bdb80b4751b3 /lib | |
parent | d2092193486c87de1ff16b223a4ba59bc634c796 (diff) | |
download | FreeBSD-src-2d48c5402092376dfbf65b2e19ae072943505eee.zip FreeBSD-src-2d48c5402092376dfbf65b2e19ae072943505eee.tar.gz |
Rename fstat as _thread_sys_fstat if being built into libc_r.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/sys/netbsd_stat.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/libc/sys/netbsd_stat.c b/lib/libc/sys/netbsd_stat.c index 150c1e8..cb93517 100644 --- a/lib/libc/sys/netbsd_stat.c +++ b/lib/libc/sys/netbsd_stat.c @@ -1,4 +1,4 @@ -/* $Id$ +/* $Id: netbsd_stat.c,v 1.1 1998/03/09 07:07:21 jb Exp $ /* From: NetBSD: stat.c,v 1.2 1997/10/22 00:56:39 fvdl Exp */ /* @@ -144,7 +144,11 @@ stat(file, ost) } int +#ifdef _THREAD_SAFE +_thread_sys_fstat(f, ost) +#else fstat(f, ost) +#endif int f; struct stat *ost; { |