summaryrefslogtreecommitdiffstats
path: root/lib/libpthread/arch/i386
diff options
context:
space:
mode:
authordeischen <deischen@FreeBSD.org>2003-05-19 23:04:50 +0000
committerdeischen <deischen@FreeBSD.org>2003-05-19 23:04:50 +0000
commitb26e5b44e091598edccd3d8954dc42037109f560 (patch)
tree40f53734ab843598c83e52d250d2e4c69ce3a826 /lib/libpthread/arch/i386
parentda1b9f9f885f1d617fdc7f06432b3ea1d2c18408 (diff)
downloadFreeBSD-src-b26e5b44e091598edccd3d8954dc42037109f560.zip
FreeBSD-src-b26e5b44e091598edccd3d8954dc42037109f560.tar.gz
Eek, staticize a couple of functions that shouldn't
be external (initialize()!). Remove cancellation points from _pthread_cond_wait and _pthread_cond_timedwait (single underscore versions are libc private functions). Point the weak reference(!) for these functions to the versions with cancellation points. Approved by: re@(blanket till 5/19) Pointed out by: kan (cancellation point bug)
Diffstat (limited to 'lib/libpthread/arch/i386')
-rw-r--r--lib/libpthread/arch/i386/i386/ksd.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libpthread/arch/i386/i386/ksd.c b/lib/libpthread/arch/i386/i386/ksd.c
index 90123c1..791c636 100644
--- a/lib/libpthread/arch/i386/i386/ksd.c
+++ b/lib/libpthread/arch/i386/i386/ksd.c
@@ -48,7 +48,9 @@ __FBSDID("$FreeBSD$");
static unsigned int ldt_mask[LDT_WORDS];
static int initialized = 0;
-void
+static void initialize(void);
+
+static void
initialize(void)
{
int i, j;
OpenPOWER on IntegriCloud