]> git.proxmox.com Git - grub2.git/commitdiff
Fix warning
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Wed, 2 Dec 2009 13:42:28 +0000 (14:42 +0100)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Wed, 2 Dec 2009 13:42:28 +0000 (14:42 +0100)
gfxmenu/gui_string_util.c

index 31b2f0aca1083d1875d0d1f4ac0894178b18bfe4..8ea7c497b3601bce886f05e679b3a12dbf208ea1 100644 (file)
@@ -206,7 +206,7 @@ grub_get_dirname (const char *file_path)
 }
 
 static __inline int
-isxdigit (char c)
+my_isxdigit (char c)
 {
   return ((c >= '0' && c <= '9')
           || (c >= 'a' && c <= 'f')
@@ -261,7 +261,7 @@ grub_gui_parse_color (const char *s, grub_gui_color_t *color)
       /* Count the hexits to determine the format.  */
       int hexits = 0;
       const char *end = s;
-      while (isxdigit (*end))
+      while (my_isxdigit (*end))
         {
           end++;
           hexits++;