aboutsummaryrefslogtreecommitdiff
path: root/libio/iofopncook.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-01-14 18:41:22 +0000
committerUlrich Drepper <drepper@redhat.com>2004-01-14 18:41:22 +0000
commitb2637a22dbfe8a4c790f378d339e12d78fd3f43f (patch)
treedd8b5e075e7be42a79d6e3e9a6f2f3cf857244f3 /libio/iofopncook.c
parent630d93a7aee1869f0c0dd337876c1be5e523bd87 (diff)
downloadglibc-b2637a22dbfe8a4c790f378d339e12d78fd3f43f.zip
glibc-b2637a22dbfe8a4c790f378d339e12d78fd3f43f.tar.gz
glibc-b2637a22dbfe8a4c790f378d339e12d78fd3f43f.tar.bz2
Update.
2004-01-14 Ulrich Drepper <drepper@redhat.com> * 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.
Diffstat (limited to 'libio/iofopncook.c')
-rw-r--r--libio/iofopncook.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libio/iofopncook.c b/libio/iofopncook.c
index b35b56d..eb5df88 100644
--- a/libio/iofopncook.c
+++ b/libio/iofopncook.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1993,95,97,99,2000,2002 Free Software Foundation, Inc.
+/* Copyright (C) 1993,95,97,99,2000,2002,2004 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -94,7 +94,7 @@ _IO_cookie_close (fp)
}
-static struct _IO_jump_t _IO_cookie_jumps = {
+static const struct _IO_jump_t _IO_cookie_jumps = {
JUMP_INIT_DUMMY,
JUMP_INIT(finish, INTUSE(_IO_file_finish)),
JUMP_INIT(overflow, INTUSE(_IO_file_overflow)),
@@ -213,7 +213,7 @@ _IO_old_cookie_seek (fp, offset, dir)
return (ret == -1) ? _IO_pos_BAD : ret;
}
-static struct _IO_jump_t _IO_old_cookie_jumps = {
+static const struct _IO_jump_t _IO_old_cookie_jumps = {
JUMP_INIT_DUMMY,
JUMP_INIT(finish, INTUSE(_IO_file_finish)),
JUMP_INIT(overflow, INTUSE(_IO_file_overflow)),