aboutsummaryrefslogtreecommitdiff
path: root/nptl
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-01-14 08:51:21 +0000
committerUlrich Drepper <drepper@redhat.com>2004-01-14 08:51:21 +0000
commit630d93a7aee1869f0c0dd337876c1be5e523bd87 (patch)
treeadd15dfe5715e739bff2f60ec0005514d7da2b47 /nptl
parent083dc54a01d3b65b9d95599e4015256c9ee25342 (diff)
downloadglibc-630d93a7aee1869f0c0dd337876c1be5e523bd87.tar
glibc-630d93a7aee1869f0c0dd337876c1be5e523bd87.tar.gz
glibc-630d93a7aee1869f0c0dd337876c1be5e523bd87.tar.bz2
glibc-630d93a7aee1869f0c0dd337876c1be5e523bd87.zip
Update.
2004-01-14 Ulrich Drepper <drepper@redhat.com> * init.c (pthread_funtions): Make array const.
Diffstat (limited to 'nptl')
-rw-r--r--nptl/ChangeLog4
-rw-r--r--nptl/init.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/nptl/ChangeLog b/nptl/ChangeLog
index dcc48e074d..9df675912c 100644
--- a/nptl/ChangeLog
+++ b/nptl/ChangeLog
@@ -1,3 +1,7 @@
+2004-01-14 Ulrich Drepper <drepper@redhat.com>
+
+ * init.c (pthread_funtions): Make array const.
+
2004-01-13 Ulrich Drepper <drepper@redhat.com>
* allocatestack.c (__make_stacks_executable): Change interface.
diff --git a/nptl/init.c b/nptl/init.c
index 1f11edb26f..876b9d3bbd 100644
--- a/nptl/init.c
+++ b/nptl/init.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.
@@ -71,7 +71,7 @@ extern void __libc_setup_tls (size_t tcbsize, size_t tcbalign);
#ifdef SHARED
-static struct pthread_functions pthread_functions =
+static const struct pthread_functions pthread_functions =
{
.ptr_pthread_attr_destroy = __pthread_attr_destroy,
# if SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)