From 33ddbc7387e21822c607c5518d904a89ee3604aa Mon Sep 17 00:00:00 2001 From: Tor Egge Date: Sun, 9 Sep 2001 00:53:07 +0000 Subject: Use libc version of _flockfile() and _funlockfile() on 5.0-CURRENT. --- devel/linuxthreads/files/uthread_file.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'devel/linuxthreads/files') diff --git a/devel/linuxthreads/files/uthread_file.c b/devel/linuxthreads/files/uthread_file.c index 8a64d869c6b9..596e7f9a2eaa 100644 --- a/devel/linuxthreads/files/uthread_file.c +++ b/devel/linuxthreads/files/uthread_file.c @@ -45,6 +45,8 @@ #include "spinlock.h" #include "restart.h" +#if __FreeBSD__ == 4 + /* * Weak symbols for externally visible functions in this file: */ @@ -396,3 +398,11 @@ void __fresetlockfiles() } _SPINUNLOCK(&hash_lock); } + +#else + +void __fresetlockfiles() +{ + /* XXX: Should do something */ +} +#endif -- cgit v1.2.3