From 8a2f63b734c8081b54dcf75b6d5438833d503f64 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Sat, 20 Nov 2004 09:58:35 +0000 Subject: [PATCH] * pthread_create.c (pthread_cancel): Add PTHREAD_STATIC_FN_REQUIRE. * pthread_cancel.c (pthread_create): Likewise. --- nptl/ChangeLog | 3 +++ nptl/pthread_cancel.c | 4 +++- nptl/pthread_create.c | 1 + 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/nptl/ChangeLog b/nptl/ChangeLog index dde6f3b99e..d95330d2b3 100644 --- a/nptl/ChangeLog +++ b/nptl/ChangeLog @@ -1,5 +1,8 @@ 2004-11-20 Jakub Jelinek + * pthread_create.c (pthread_cancel): Add PTHREAD_STATIC_FN_REQUIRE. + * pthread_cancel.c (pthread_create): Likewise. + * Makefile (libpthread-routines): Add vars. * sysdeps/pthread/createthread.c (__pthread_multiple_threads): Remove. * init.c (__default_stacksize, __is_smp): Remove. diff --git a/nptl/pthread_cancel.c b/nptl/pthread_cancel.c index 8d1b8640f8..a13af56b37 100644 --- a/nptl/pthread_cancel.c +++ b/nptl/pthread_cancel.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2002, 2003 Free Software Foundation, Inc. +/* Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper , 2002. @@ -100,3 +100,5 @@ pthread_cancel (th) return result; } + +PTHREAD_STATIC_FN_REQUIRE (pthread_create) diff --git a/nptl/pthread_create.c b/nptl/pthread_create.c index fcfc5c6d97..bf41e9fcc9 100644 --- a/nptl/pthread_create.c +++ b/nptl/pthread_create.c @@ -515,6 +515,7 @@ PTHREAD_STATIC_FN_REQUIRE (pthread_mutex_lock) PTHREAD_STATIC_FN_REQUIRE (pthread_mutex_unlock) PTHREAD_STATIC_FN_REQUIRE (pthread_once) +PTHREAD_STATIC_FN_REQUIRE (pthread_cancel) PTHREAD_STATIC_FN_REQUIRE (pthread_key_create) PTHREAD_STATIC_FN_REQUIRE (pthread_setspecific) -- 2.11.4.GIT