]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
2010-02-07 Vladimir Serbinenko <phcoder@gmail.com>
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Sat, 6 Feb 2010 23:36:18 +0000 (00:36 +0100)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Sat, 6 Feb 2010 23:36:18 +0000 (00:36 +0100)
* include/grub/i18n.h (grub_gettext_dummy): Removed.
* kern/misc.c (grub_gettext_dummy): Make static.

ChangeLog
include/grub/i18n.h
kern/misc.c

index e71065338c92690580caca0dd02a1726be70787b..b6b74e8a3c7dab82ba4ff4e85b4c9a3a30ca3fb0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2010-02-07  Vladimir Serbinenko  <phcoder@gmail.com>
+
+       * include/grub/i18n.h (grub_gettext_dummy): Removed.
+       * kern/misc.c (grub_gettext_dummy): Make static.
+
 2010-02-06  Vladimir Serbinenko  <phcoder@gmail.com>
 
        * kern/misc.c (grub_utf8_to_ucs4): Don't eat valid characters preceeded
index 4d4a0b7bdbef22e66ca49866180696a2d779ce98..0cba547657bfa42a03ea5813855b5f39da89da8e 100644 (file)
@@ -22,7 +22,6 @@
 #include <config.h>
 #include <grub/symbol.h>
 
-const char *EXPORT_FUNC(grub_gettext_dummy) (const char *s);
 extern const char *(*EXPORT_VAR(grub_gettext)) (const char *s);
 
 /* NLS can be disabled through the configure --disable-nls option.  */
index f45991d96b54dd78ad673e8e087611ec0e1fde5b..4772e22b0b76fc21cd83b10d7f71481b46bc5c09 100644 (file)
@@ -35,7 +35,7 @@ grub_iswordseparator (int c)
 }
 
 /* grub_gettext_dummy is not translating anything.  */
-const char *
+static const char *
 grub_gettext_dummy (const char *s)
 {
   return s;