projects
/
carl9170fw.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
kconfig: drop localization support
[carl9170fw.git]
/
config
/
confdata.c
diff --git
a/config/confdata.c
b/config/confdata.c
index 2e030b4c736a2876f9a8499a5bd5f0b3939487e4..94c5efa68912772b3b4ccade24c4c4073382978c 100644
(file)
--- a/
config/confdata.c
+++ b/
config/confdata.c
@@
-178,7
+178,7
@@
static int conf_set_sym_val(struct symbol *sym, int def, int def_flags, char *p)
case S_HEX:
done:
if (sym_string_valid(sym, p)) {
case S_HEX:
done:
if (sym_string_valid(sym, p)) {
- sym->def[def].val = strdup(p);
+ sym->def[def].val =
x
strdup(p);
sym->flags |= def_flags;
} else {
if (def != S_DEF_AUTO)
sym->flags |= def_flags;
} else {
if (def != S_DEF_AUTO)
@@
-201,7
+201,7
@@
static int add_byte(int c, char **lineptr, size_t slen, size_t *n)
if (new_size > *n) {
new_size += LINE_GROWTH - 1;
new_size *= 2;
if (new_size > *n) {
new_size += LINE_GROWTH - 1;
new_size *= 2;
- nline = realloc(*lineptr, new_size);
+ nline =
x
realloc(*lineptr, new_size);
if (!nline)
return -1;
if (!nline)
return -1;
@@
-277,7
+277,7
@@
int conf_read_simple(const char *name, int def)
name = conf_expand_value(prop->expr->left.sym->name);
in = zconf_fopen(name);
if (in) {
name = conf_expand_value(prop->expr->left.sym->name);
in = zconf_fopen(name);
if (in) {
- conf_message(
_("using defaults found in %s")
,
+ conf_message(
"using defaults found in %s"
,
name);
goto load;
}
name);
goto load;
}
@@
-877,7
+877,7
@@
next:
return 1;
}
return 1;
}
- conf_message(
_("configuration written to %s")
, newname);
+ conf_message(
"configuration written to %s"
, newname);
sym_set_change_count(0);
sym_set_change_count(0);