* 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:
parent
434814814b
commit
56733740ed
3 changed files with 9 additions and 3 deletions
|
@ -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>
|
||||
|
||||
* util/getroot.c [__APPLE__]: Add missing includes.
|
||||
|
|
|
@ -119,9 +119,9 @@ weak_alias (__argp_fmtstream_free, argp_fmtstream_free)
|
|||
|
||||
|
||||
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;
|
||||
mbstate_t ps;
|
||||
|
||||
|
|
|
@ -336,7 +336,7 @@ __argp_fmtstream_point (argp_fmtstream_t __fs)
|
|||
}
|
||||
|
||||
size_t
|
||||
__argp_get_display_len (char *beg, char *end);
|
||||
__argp_get_display_len (const char *beg, const char *end);
|
||||
|
||||
#if !_LIBC
|
||||
#undef __argp_fmtstream_putc
|
||||
|
|
Loading…
Reference in a new issue