projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rockchip: rk3128: use ARM arch timer instead of rk_timer
[oweals/u-boot.git]
/
scripts
/
kconfig
/
nconf.gui.c
diff --git
a/scripts/kconfig/nconf.gui.c
b/scripts/kconfig/nconf.gui.c
index 4b2f44c20caf8941d150f261074b40d589a10376..88874acfda3670afe03fd73c3e17c9cf56b0a569 100644
(file)
--- a/
scripts/kconfig/nconf.gui.c
+++ b/
scripts/kconfig/nconf.gui.c
@@
-6,6
+6,7
@@
*
*/
#include "nconf.h"
*
*/
#include "nconf.h"
+#include "lkc.h"
/* a list of all the different widgets we use */
attributes_t attributes[ATTR_MAX+1] = {0};
/* a list of all the different widgets we use */
attributes_t attributes[ATTR_MAX+1] = {0};
@@
-129,7
+130,7
@@
static void no_colors_theme(void)
mkattrn(FUNCTION_TEXT, A_REVERSE);
}
mkattrn(FUNCTION_TEXT, A_REVERSE);
}
-void set_colors()
+void set_colors(
void
)
{
start_color();
use_default_colors();
{
start_color();
use_default_colors();
@@
-192,7
+193,7
@@
const char *get_line(const char *text, int line_no)
int lines = 0;
if (!text)
int lines = 0;
if (!text)
- return
0
;
+ return
NULL
;
for (i = 0; text[i] != '\0' && lines < line_no; i++)
if (text[i] == '\n')
for (i = 0; text[i] != '\0' && lines < line_no; i++)
if (text[i] == '\n')
@@
-374,7
+375,7
@@
int dialog_inputbox(WINDOW *main_window,
if (strlen(init)+1 > *result_len) {
*result_len = strlen(init)+1;
if (strlen(init)+1 > *result_len) {
*result_len = strlen(init)+1;
- *resultp = result = realloc(result, *result_len);
+ *resultp = result =
x
realloc(result, *result_len);
}
/* find the widest line of msg: */
}
/* find the widest line of msg: */