From ef2bb4137e97a58204964299c2566b37705b7179 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 20 Nov 2004 09:55:44 +0000 Subject: Update. * signal/signal.h: Add nonnull attributes. --- nptl/ChangeLog | 3 +++ nptl/pthread_cancel.c | 4 +++- nptl/pthread_create.c | 1 + 3 files changed, 7 insertions(+), 1 deletion(-) (limited to 'nptl') diff --git a/nptl/ChangeLog b/nptl/ChangeLog index 214e2efb18..575520c02f 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) -- cgit v1.2.3