Updated to match trunk/uClibc/extra/config as of r10132, and thus

Linux 2.6.11.
This commit is contained in:
Peter Kjellerstedt
2005-04-19 09:55:06 +00:00
parent 2bf88a891f
commit bae38db8e4
23 changed files with 905 additions and 490 deletions

View File

@ -23,10 +23,10 @@ const char *conf_confnames[] = {
NULL,
};
static char *conf_expand_value(const char *in)
static char *conf_expand_value(const signed char *in)
{
struct symbol *sym;
const char *src;
const signed char *src;
static char res_value[SYMBOL_MAXLENGTH];
char *dst, name[SYMBOL_MAXLENGTH];
@ -287,7 +287,7 @@ int conf_write(const char *name)
} else
basename = conf_def_filename;
sprintf(newname, "%s.tmpconfig.%d", dirname, getpid());
sprintf(newname, "%s.tmpconfig.%d", dirname, (int)getpid());
out = fopen(newname, "w");
if (!out)
return 1;