diff options
author | deischen <deischen@FreeBSD.org> | 2003-05-19 23:04:50 +0000 |
---|---|---|
committer | deischen <deischen@FreeBSD.org> | 2003-05-19 23:04:50 +0000 |
commit | b26e5b44e091598edccd3d8954dc42037109f560 (patch) | |
tree | 40f53734ab843598c83e52d250d2e4c69ce3a826 /lib/libpthread/arch/i386 | |
parent | da1b9f9f885f1d617fdc7f06432b3ea1d2c18408 (diff) | |
download | FreeBSD-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.c | 4 |
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; |