about summary refs log tree commit diff
path: root/sysdeps/generic
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 /sysdeps/generic
parent630d93a7aee1869f0c0dd337876c1be5e523bd87 (diff)
downloadglibc-b2637a22dbfe8a4c790f378d339e12d78fd3f43f.tar.gz
glibc-b2637a22dbfe8a4c790f378d339e12d78fd3f43f.tar.xz
glibc-b2637a22dbfe8a4c790f378d339e12d78fd3f43f.zip
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 'sysdeps/generic')
-rw-r--r--sysdeps/generic/utmp_file.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/generic/utmp_file.c b/sysdeps/generic/utmp_file.c
index 493af65a32..e7743bfac8 100644
--- a/sysdeps/generic/utmp_file.c
+++ b/sysdeps/generic/utmp_file.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996-2002, 2003 Free Software Foundation, Inc.
+/* Copyright (C) 1996-2002, 2003, 2004 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>
    and Paul Janzen <pcj@primenet.com>, 1996.
@@ -114,7 +114,7 @@ static void endutent_file (void);
 static int updwtmp_file (const char *file, const struct utmp *utmp);
 
 /* Jump table for file functions.  */
-struct utfuncs __libc_utmp_file_functions =
+const struct utfuncs __libc_utmp_file_functions =
 {
   setutent_file,
   getutent_r_file,