diff options
author | tegge <tegge@FreeBSD.org> | 2001-09-09 00:53:07 +0000 |
---|---|---|
committer | tegge <tegge@FreeBSD.org> | 2001-09-09 00:53:07 +0000 |
commit | 0ef0aeff048e4bcea7667d8ff50c28f086aa6ffd (patch) | |
tree | fe6343b84b85805d112d9c7f719c01a091b09d6e | |
parent | f3bd8bb6ed2d6163ea56d224bc23e1bfdd91b353 (diff) | |
download | FreeBSD-ports-0ef0aeff048e4bcea7667d8ff50c28f086aa6ffd.zip FreeBSD-ports-0ef0aeff048e4bcea7667d8ff50c28f086aa6ffd.tar.gz |
Use libc version of _flockfile() and _funlockfile() on 5.0-CURRENT.
-rw-r--r-- | devel/linuxthreads/files/uthread_file.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/devel/linuxthreads/files/uthread_file.c b/devel/linuxthreads/files/uthread_file.c index 8a64d86..596e7f9 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 |