Commit c4143a83 authored by Sam Ravnborg's avatar Sam Ravnborg

kconfig: fix MAC OS X warnings in menuconfig

Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
Acked-by: default avatarTimur Tabi <timur@freescale.com>
parent ac551828
...@@ -11,9 +11,9 @@ ...@@ -11,9 +11,9 @@
#ifndef KBUILD_NO_NLS #ifndef KBUILD_NO_NLS
# include <libintl.h> # include <libintl.h>
#else #else
# define gettext(Msgid) ((const char *) (Msgid)) static inline const char *gettext(const char *txt) { return txt; }
# define textdomain(Domainname) ((const char *) (Domainname)) static inline void textdomain(const char *domainname) {}
# define bindtextdomain(Domainname, Dirname) ((const char *) (Dirname)) static inline void bindtextdomain(const char *name, const char *dir) {}
#endif #endif
#ifdef __cplusplus #ifdef __cplusplus
......
...@@ -773,7 +773,7 @@ static void conf_string(struct menu *menu) ...@@ -773,7 +773,7 @@ static void conf_string(struct menu *menu)
while (1) { while (1) {
int res; int res;
char *heading; const char *heading;
switch (sym_get_type(menu->sym)) { switch (sym_get_type(menu->sym)) {
case S_INT: case S_INT:
...@@ -925,3 +925,4 @@ int main(int ac, char **av) ...@@ -925,3 +925,4 @@ int main(int ac, char **av)
return 0; return 0;
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment