about summary refs log tree commit diff
path: root/stdio-common/printf.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2009-04-23 01:14:33 +0000
committerUlrich Drepper <drepper@redhat.com>2009-04-23 01:14:33 +0000
commitdebafa10bcf2dd52392739a3aa6aff54f044fcd8 (patch)
tree240ca8bbac50b355a462ab971f6cf328abd446fe /stdio-common/printf.h
parentd43f10e715f476fe389f49a83d665c57baa07497 (diff)
downloadglibc-debafa10bcf2dd52392739a3aa6aff54f044fcd8.tar.gz
glibc-debafa10bcf2dd52392739a3aa6aff54f044fcd8.tar.xz
glibc-debafa10bcf2dd52392739a3aa6aff54f044fcd8.zip
* stdio-common/printf.h: Add missing const to register_printf_modifier.
	* stdio-common/reg-modifier.c: Likewise.

2009-04-22  Andrew Stubbs  <ams@codesourcery.com>

	* sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Adjust JB_SIZE when there
	is no FPU.
Diffstat (limited to 'stdio-common/printf.h')
-rw-r--r--stdio-common/printf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/stdio-common/printf.h b/stdio-common/printf.h
index a11af02274..af8cf34fcc 100644
--- a/stdio-common/printf.h
+++ b/stdio-common/printf.h
@@ -113,7 +113,7 @@ extern int register_printf_function (int __spec, printf_function __func,
    it returns a positive value representing the bit set in the USER
    field in 'struct printf_info'.  */
 
-extern int register_printf_modifier (wchar_t *__str) __wur __THROW;
+extern int register_printf_modifier (__const wchar_t *__str) __wur __THROW;
 
 
 /* Register variable argument handler for user type.  The return value