From 630d93a7aee1869f0c0dd337876c1be5e523bd87 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 14 Jan 2004 08:51:21 +0000 Subject: Update. 2004-01-14 Ulrich Drepper * init.c (pthread_funtions): Make array const. --- nptl/ChangeLog | 4 ++++ nptl/init.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'nptl') 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 + + * init.c (pthread_funtions): Make array const. + 2004-01-13 Ulrich Drepper * 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 , 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) -- cgit v1.2.3