From b2637a22dbfe8a4c790f378d339e12d78fd3f43f Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 14 Jan 2004 18:41:22 +0000 Subject: Update. 2004-01-14 Ulrich Drepper * libio/libio.h: Add const to function tables types. * libio/libioP.h: Likewise. * /login/utmp-private.h: Likewise. * libio/fileops.c: Add const to jump table variable definition. * libio/genops.c: Likewise. * libio/iofopncook.c: Likewise. * libio/iopopen.c: Likewise. * libio/memstream.c: Likewise. * libio/obprintf.c: Likewise. * libio/oldfileops.c: Likewise. * libio/oldiopopen.c: Likewise. * libio/strops.c: Likewise. * libio/vsnprintf.c: Likewise. * libio/vswprintf.c: Likewise. * libio/wfileops.c: Likewise. * libio/wstrops.c: Likewise. * login/getutent_r.c: Likewise. * login/getutid_r.c Likewise. * login/getutline_r.c: Likewise. * sysdeps/generic/utmp_file.c: Likewise. --- libio/iopopen.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'libio/iopopen.c') diff --git a/libio/iopopen.c b/libio/iopopen.c index 6309438..30d8042 100644 --- a/libio/iopopen.c +++ b/libio/iopopen.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1993, 1997-2002, 2003 Free Software Foundation, Inc. +/* Copyright (C) 1993, 1997-2002, 2003, 2004 Free Software Foundation, Inc. This file is part of the GNU C Library. Written by Per Bothner . @@ -105,8 +105,8 @@ struct _IO_proc_file }; typedef struct _IO_proc_file _IO_proc_file; -static struct _IO_jump_t _IO_proc_jumps; -static struct _IO_jump_t _IO_wproc_jumps; +static const struct _IO_jump_t _IO_proc_jumps; +static const struct _IO_jump_t _IO_wproc_jumps; static struct _IO_proc_file *proc_file_chain; @@ -286,7 +286,7 @@ _IO_new_proc_close (fp) #endif } -static struct _IO_jump_t _IO_proc_jumps = { +static const struct _IO_jump_t _IO_proc_jumps = { JUMP_INIT_DUMMY, JUMP_INIT(finish, _IO_new_file_finish), JUMP_INIT(overflow, _IO_new_file_overflow), @@ -309,7 +309,7 @@ static struct _IO_jump_t _IO_proc_jumps = { JUMP_INIT(imbue, _IO_default_imbue) }; -static struct _IO_jump_t _IO_wproc_jumps = { +static const struct _IO_jump_t _IO_wproc_jumps = { JUMP_INIT_DUMMY, JUMP_INIT(finish, _IO_new_file_finish), JUMP_INIT(overflow, _IO_new_file_overflow), -- cgit v1.1