2008-03-26 Pavel Roskin <proski@gnu.org>
* normal/color.c (grub_parse_color_name_pair): Make `name' a const. * include/grub/normal.h: Add grub_parse_color_name_pair() declaration.
This commit is contained in:
parent
a303c7835f
commit
c5dfd43b5f
3 changed files with 9 additions and 1 deletions
|
@ -1,3 +1,10 @@
|
|||
2008-03-26 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* normal/color.c (grub_parse_color_name_pair): Make `name' a
|
||||
const.
|
||||
* include/grub/normal.h: Add grub_parse_color_name_pair()
|
||||
declaration.
|
||||
|
||||
2008-03-24 Bean <bean123ch@gmail.com>
|
||||
|
||||
* disk/i386/pc/biosdisk.c (cd_start): Removed.
|
||||
|
|
|
@ -157,6 +157,7 @@ grub_err_t grub_normal_menu_addentry (const char *title,
|
|||
const char *sourcecode);
|
||||
char *grub_env_write_color_normal (struct grub_env_var *var, const char *val);
|
||||
char *grub_env_write_color_highlight (struct grub_env_var *var, const char *val);
|
||||
void grub_parse_color_name_pair (grub_uint8_t *ret, const char *name);
|
||||
void grub_wait_after_message (void);
|
||||
|
||||
#ifdef GRUB_UTIL
|
||||
|
|
|
@ -56,7 +56,7 @@ parse_color_name (grub_uint8_t *ret, char *name)
|
|||
}
|
||||
|
||||
void
|
||||
grub_parse_color_name_pair (grub_uint8_t *ret, char *name)
|
||||
grub_parse_color_name_pair (grub_uint8_t *ret, const char *name)
|
||||
{
|
||||
grub_uint8_t fg, bg;
|
||||
char *fg_name, *bg_name;
|
||||
|
|
Loading…
Reference in a new issue