aboutsummaryrefslogtreecommitdiff
path: root/devel/linuxthreads
diff options
context:
space:
mode:
authorTor Egge <tegge@FreeBSD.org>2001-09-09 00:53:07 +0000
committerTor Egge <tegge@FreeBSD.org>2001-09-09 00:53:07 +0000
commit33ddbc7387e21822c607c5518d904a89ee3604aa (patch)
tree5f259ae3d70a4631a8ad5e806aa62382d8c39bbe /devel/linuxthreads
parent7a6bb5240105e8a28684c82bc1e14ce431924971 (diff)
downloadports-33ddbc7387e21822c607c5518d904a89ee3604aa.tar.gz
ports-33ddbc7387e21822c607c5518d904a89ee3604aa.zip
Use libc version of _flockfile() and _funlockfile() on 5.0-CURRENT.
Notes
Notes: svn path=/head/; revision=47552
Diffstat (limited to 'devel/linuxthreads')
-rw-r--r--devel/linuxthreads/files/uthread_file.c10
1 files changed, 10 insertions, 0 deletions
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