aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/kconfig')
-rw-r--r--scripts/kconfig/conf.c6
-rw-r--r--scripts/kconfig/confdata.c4
-rw-r--r--scripts/kconfig/mconf.c5
3 files changed, 8 insertions, 7 deletions
diff --git a/scripts/kconfig/conf.c b/scripts/kconfig/conf.c
index 70e7264c6942..bc20cab9d0d6 100644
--- a/scripts/kconfig/conf.c
+++ b/scripts/kconfig/conf.c
@@ -31,14 +31,14 @@ char *defconfig_file;
31static int indent = 1; 31static int indent = 1;
32static int valid_stdin = 1; 32static int valid_stdin = 1;
33static int conf_cnt; 33static int conf_cnt;
34static signed char line[128]; 34static char line[128];
35static struct menu *rootEntry; 35static struct menu *rootEntry;
36 36
37static char nohelp_text[] = N_("Sorry, no help available for this option yet.\n"); 37static char nohelp_text[] = N_("Sorry, no help available for this option yet.\n");
38 38
39static void strip(signed char *str) 39static void strip(char *str)
40{ 40{
41 signed char *p = str; 41 char *p = str;
42 int l; 42 int l;
43 43
44 while ((isspace(*p))) 44 while ((isspace(*p)))
diff --git a/scripts/kconfig/confdata.c b/scripts/kconfig/confdata.c
index 2755c459d780..02f670cc6bb9 100644
--- a/scripts/kconfig/confdata.c
+++ b/scripts/kconfig/confdata.c
@@ -27,10 +27,10 @@ const char *conf_confnames[] = {
27 NULL, 27 NULL,
28}; 28};
29 29
30static char *conf_expand_value(const signed char *in) 30static char *conf_expand_value(const char *in)
31{ 31{
32 struct symbol *sym; 32 struct symbol *sym;
33 const signed char *src; 33 const char *src;
34 static char res_value[SYMBOL_MAXLENGTH]; 34 static char res_value[SYMBOL_MAXLENGTH];
35 char *dst, name[SYMBOL_MAXLENGTH]; 35 char *dst, name[SYMBOL_MAXLENGTH];
36 36
diff --git a/scripts/kconfig/mconf.c b/scripts/kconfig/mconf.c
index e5db10ca9564..457bec29511d 100644
--- a/scripts/kconfig/mconf.c
+++ b/scripts/kconfig/mconf.c
@@ -20,6 +20,7 @@
20#include <string.h> 20#include <string.h>
21#include <termios.h> 21#include <termios.h>
22#include <unistd.h> 22#include <unistd.h>
23#include <locale.h>
23 24
24#define LKC_DIRECT_LINK 25#define LKC_DIRECT_LINK
25#include "lkc.h" 26#include "lkc.h"
@@ -254,8 +255,8 @@ search_help[] = N_(
254 " USB$ => find all CONFIG_ symbols ending with USB\n" 255 " USB$ => find all CONFIG_ symbols ending with USB\n"
255 "\n"); 256 "\n");
256 257
257static signed char buf[4096], *bufptr = buf; 258static char buf[4096], *bufptr = buf;
258static signed char input_buf[4096]; 259static char input_buf[4096];
259static char filename[PATH_MAX+1] = ".config"; 260static char filename[PATH_MAX+1] = ".config";
260static char *args[1024], **argptr = args; 261static char *args[1024], **argptr = args;
261static int indent; 262static int indent;