Make a few warnings go away.

This commit is contained in:
Rob Landley
2005-12-19 16:30:33 +00:00
parent c90c8b50e4
commit 9a1e25d994
2 changed files with 4 additions and 4 deletions

View File

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

View File

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