提交 c4143a83 编写于 作者: S Sam Ravnborg

kconfig: fix MAC OS X warnings in menuconfig

Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
Acked-by: NTimur Tabi <timur@freescale.com>
上级 ac551828
......@@ -11,9 +11,9 @@
#ifndef KBUILD_NO_NLS
# include <libintl.h>
#else
# define gettext(Msgid) ((const char *) (Msgid))
# define textdomain(Domainname) ((const char *) (Domainname))
# define bindtextdomain(Domainname, Dirname) ((const char *) (Dirname))
static inline const char *gettext(const char *txt) { return txt; }
static inline void textdomain(const char *domainname) {}
static inline void bindtextdomain(const char *name, const char *dir) {}
#endif
#ifdef __cplusplus
......
......@@ -773,7 +773,7 @@ static void conf_string(struct menu *menu)
while (1) {
int res;
char *heading;
const char *heading;
switch (sym_get_type(menu->sym)) {
case S_INT:
......@@ -925,3 +925,4 @@ int main(int ac, char **av)
return 0;
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册