* grub-core/gnulib/argp-fmtstream.c (__argp_get_display_len): Add

missing const qualifiers.
	* grub-core/gnulib/argp-fmtstream.h (__argp_get_display_len): Likewise.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2012-02-29 14:42:20 +01:00
parent 434814814b
commit 56733740ed
3 changed files with 9 additions and 3 deletions

View file

@ -1,3 +1,9 @@
2012-02-29 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/gnulib/argp-fmtstream.c (__argp_get_display_len): Add
missing const qualifiers.
* grub-core/gnulib/argp-fmtstream.h (__argp_get_display_len): Likewise.
2012-02-29 Vladimir Serbinenko <phcoder@gmail.com> 2012-02-29 Vladimir Serbinenko <phcoder@gmail.com>
* util/getroot.c [__APPLE__]: Add missing includes. * util/getroot.c [__APPLE__]: Add missing includes.

View file

@ -119,9 +119,9 @@ weak_alias (__argp_fmtstream_free, argp_fmtstream_free)
size_t size_t
__argp_get_display_len (char *beg, char *end) __argp_get_display_len (const char *beg, const char *end)
{ {
char *ptr; const char *ptr;
size_t r = 0; size_t r = 0;
mbstate_t ps; mbstate_t ps;

View file

@ -336,7 +336,7 @@ __argp_fmtstream_point (argp_fmtstream_t __fs)
} }
size_t size_t
__argp_get_display_len (char *beg, char *end); __argp_get_display_len (const char *beg, const char *end);
#if !_LIBC #if !_LIBC
#undef __argp_fmtstream_putc #undef __argp_fmtstream_putc