[PATCH] Kill signed chars

scripts/ is full of mismatches between char* params an signed char* arguments,
and viceversa.  gcc4 now complaints loud about this.  Patch below deletes all
those 'signed'.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
J.A. Magallon
2005-06-25 14:59:22 -07:00
committed by Linus Torvalds
parent f14c6fd0fc
commit 48b9d03c5f
6 changed files with 25 additions and 25 deletions

View File

@@ -31,14 +31,14 @@ char *defconfig_file;
static int indent = 1;
static int valid_stdin = 1;
static int conf_cnt;
static signed char line[128];
static char line[128];
static struct menu *rootEntry;
static char nohelp_text[] = N_("Sorry, no help available for this option yet.\n");
static void strip(signed char *str)
static void strip(char *str)
{
signed char *p = str;
char *p = str;
int l;
while ((isspace(*p)))

View File

@@ -27,10 +27,10 @@ const char *conf_confnames[] = {
NULL,
};
static char *conf_expand_value(const signed char *in)
static char *conf_expand_value(const char *in)
{
struct symbol *sym;
const signed char *src;
const char *src;
static char res_value[SYMBOL_MAXLENGTH];
char *dst, name[SYMBOL_MAXLENGTH];

View File

@@ -255,8 +255,8 @@ search_help[] = N_(
" USB$ => find all CONFIG_ symbols ending with USB\n"
"\n");
static signed char buf[4096], *bufptr = buf;
static signed char input_buf[4096];
static char buf[4096], *bufptr = buf;
static char input_buf[4096];
static char filename[PATH_MAX+1] = ".config";
static char *args[1024], **argptr = args;
static int indent;