about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog1
-rw-r--r--libio/libioP.h4
2 files changed, 3 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 36e8a76f2c..4916a4e550 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,7 @@
 
 	* libio/iofwide.c (__libio_codecvt): Mark as const.
 	(__libio_translit): Likewise.
+	* libio/libioP.h (__libio_codecvt): Adjust declaraction.
 
 	* wcsmbs/wcsmbsload.c (to_wc): Mark as const.
 	(to_mb): Likewise.
diff --git a/libio/libioP.h b/libio/libioP.h
index 319b0fd5f3..be3b38a2e4 100644
--- a/libio/libioP.h
+++ b/libio/libioP.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1993, 1997-2003, 2004 Free Software Foundation, Inc.
+/* Copyright (C) 1993, 1997-2003, 2004, 2005 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
@@ -469,7 +469,7 @@ extern const struct _IO_jump_t _IO_streambuf_jumps;
 extern const struct _IO_jump_t _IO_old_proc_jumps attribute_hidden;
 extern const struct _IO_jump_t _IO_str_jumps attribute_hidden;
 extern const struct _IO_jump_t _IO_wstr_jumps attribute_hidden;
-extern struct _IO_codecvt __libio_codecvt attribute_hidden;
+extern const struct _IO_codecvt __libio_codecvt attribute_hidden;
 extern int _IO_do_write (_IO_FILE *, const char *, _IO_size_t) __THROW;
 extern int _IO_new_do_write (_IO_FILE *, const char *, _IO_size_t) __THROW;
 extern int _IO_old_do_write (_IO_FILE *, const char *, _IO_size_t) __THROW;