notaz.gp2x.de
/
libpicofe.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
plat: avoid MAP_FIXED
[libpicofe.git]
/
config_file.c
diff --git
a/config_file.c
b/config_file.c
index
6632aa5
..
a1e67ae
100644
(file)
--- a/
config_file.c
+++ b/
config_file.c
@@
-147,14
+147,14
@@
static int parse_bind_val(const char *val, int *type)
return -1;
}
return -1;
}
-void config_read_keys(const char *cfg)
+void config_read_keys(const char *cfg
_content
)
{
char dev[256], key[128], *act;
const char *p;
int bind, bindtype;
int dev_id;
{
char dev[256], key[128], *act;
const char *p;
int bind, bindtype;
int dev_id;
- p = cfg;
+ p = cfg
_content
;
while (p != NULL && (p = strstr(p, "binddev = ")) != NULL) {
p += 10;
while (p != NULL && (p = strstr(p, "binddev = ")) != NULL) {
p += 10;