summaryrefslogtreecommitdiffstats
path: root/support/kconfig/nconf.c
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2012-01-13 12:48:28 +0100
committerPeter Korsgaard <jacmet@sunsite.dk>2012-01-15 20:48:04 +0100
commit21f540be4e247b4468d0e8adbf9e3a7575f8a085 (patch)
tree8c572a31fbc5cbeecb015a3b15ce00debf03a074 /support/kconfig/nconf.c
parent8f8d414b61bf3b27a77ad38dfc493ae412b65471 (diff)
downloadbuildroot-novena-21f540be4e247b4468d0e8adbf9e3a7575f8a085.tar.gz
buildroot-novena-21f540be4e247b4468d0e8adbf9e3a7575f8a085.zip
kconfig: sync with linux-3.0
And drop unused make-write-deps patch. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'support/kconfig/nconf.c')
-rw-r--r--support/kconfig/nconf.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/support/kconfig/nconf.c b/support/kconfig/nconf.c
index db5637739..488dd7410 100644
--- a/support/kconfig/nconf.c
+++ b/support/kconfig/nconf.c
@@ -373,18 +373,18 @@ static void print_function_line(void)
const int skip = 1;
for (i = 0; i < function_keys_num; i++) {
- wattrset(main_window, attributes[FUNCTION_HIGHLIGHT]);
+ (void) wattrset(main_window, attributes[FUNCTION_HIGHLIGHT]);
mvwprintw(main_window, LINES-3, offset,
"%s",
function_keys[i].key_str);
- wattrset(main_window, attributes[FUNCTION_TEXT]);
+ (void) wattrset(main_window, attributes[FUNCTION_TEXT]);
offset += strlen(function_keys[i].key_str);
mvwprintw(main_window, LINES-3,
offset, "%s",
function_keys[i].func);
offset += strlen(function_keys[i].func) + skip;
}
- wattrset(main_window, attributes[NORMAL]);
+ (void) wattrset(main_window, attributes[NORMAL]);
}
/* help */
@@ -953,16 +953,16 @@ static void show_menu(const char *prompt, const char *instructions,
current_instructions = instructions;
clear();
- wattrset(main_window, attributes[NORMAL]);
+ (void) wattrset(main_window, attributes[NORMAL]);
print_in_middle(stdscr, 1, 0, COLS,
menu_backtitle,
attributes[MAIN_HEADING]);
- wattrset(main_window, attributes[MAIN_MENU_BOX]);
+ (void) wattrset(main_window, attributes[MAIN_MENU_BOX]);
box(main_window, 0, 0);
- wattrset(main_window, attributes[MAIN_MENU_HEADING]);
+ (void) wattrset(main_window, attributes[MAIN_MENU_HEADING]);
mvwprintw(main_window, 0, 3, " %s ", prompt);
- wattrset(main_window, attributes[NORMAL]);
+ (void) wattrset(main_window, attributes[NORMAL]);
set_menu_items(curses_menu, curses_menu_items);