aboutsummaryrefslogtreecommitdiff
path: root/nptl
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-11-20 09:55:44 +0000
committerUlrich Drepper <drepper@redhat.com>2004-11-20 09:55:44 +0000
commitef2bb4137e97a58204964299c2566b37705b7179 (patch)
tree3f1e0104b6c8dcb0bf4810519b20be063ddf5b95 /nptl
parent3a7fd2f921c0581f7783703d02d599ab2d133893 (diff)
downloadglibc-ef2bb4137e97a58204964299c2566b37705b7179.zip
glibc-ef2bb4137e97a58204964299c2566b37705b7179.tar.gz
glibc-ef2bb4137e97a58204964299c2566b37705b7179.tar.bz2
* signal/signal.h: Add nonnull attributes.
Diffstat (limited to 'nptl')
-rw-r--r--nptl/ChangeLog3
-rw-r--r--nptl/pthread_cancel.c4
-rw-r--r--nptl/pthread_create.c1
3 files changed, 7 insertions, 1 deletions
diff --git a/nptl/ChangeLog b/nptl/ChangeLog
index 214e2ef..575520c 100644
--- a/nptl/ChangeLog
+++ b/nptl/ChangeLog
@@ -1,5 +1,8 @@
2004-11-20 Jakub Jelinek <jakub@redhat.com>
+ * 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 8d1b864..a13af56 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 <drepper@redhat.com>, 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 fcfc5c6..bf41e9f 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)