2004-01-14  Ulrich Drepper  <drepper@redhat.com>

	* init.c (pthread_funtions): Make array const.
This commit is contained in:
Ulrich Drepper 2004-01-14 08:51:21 +00:00
parent 083dc54a01
commit 630d93a7ae
2 changed files with 6 additions and 2 deletions

View File

@ -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> 2004-01-13 Ulrich Drepper <drepper@redhat.com>
* allocatestack.c (__make_stacks_executable): Change interface. * allocatestack.c (__make_stacks_executable): Change interface.

View File

@ -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. This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@redhat.com>, 2002. 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 #ifdef SHARED
static struct pthread_functions pthread_functions = static const struct pthread_functions pthread_functions =
{ {
.ptr_pthread_attr_destroy = __pthread_attr_destroy, .ptr_pthread_attr_destroy = __pthread_attr_destroy,
# if SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1) # if SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)