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:
proski 2008-03-26 13:01:02 +00:00
parent a303c7835f
commit c5dfd43b5f
3 changed files with 9 additions and 1 deletions

View file

@ -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.

View file

@ -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

View file

@ -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;