summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2005-12-19 16:30:33 +0000
committerRob Landley <rob@landley.net>2005-12-19 16:30:33 +0000
commit9a1e25d994733a05cbcea2b573347a01e6a03695 (patch)
tree10152ba9bb81ec5e838d12977a20fb9e07d8930e
parentc90c8b50e4c340249deef9b73751586662ebb2be (diff)
Make a few warnings go away.
-rw-r--r--scripts/config/conf.c4
-rw-r--r--scripts/config/confdata.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/scripts/config/conf.c b/scripts/config/conf.c
index 78c1af596..d6c921d98 100644
--- a/scripts/config/conf.c
+++ b/scripts/config/conf.c
@@ -31,12 +31,12 @@ 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[] = "Sorry, no help available for this option yet.\n";
-static void strip(signed char *str)
+static void strip(char *str)
{
signed char *p = str;
int l;
diff --git a/scripts/config/confdata.c b/scripts/config/confdata.c
index 5a3de978d..5c9529101 100644
--- a/scripts/config/confdata.c
+++ b/scripts/config/confdata.c
@@ -23,10 +23,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];