X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=config_file.c;h=a1e67aef761cf92d264afe42983a45fef199112e;hb=c54d04fd84f59c60c6ecdbd2502fbda5de735b4b;hp=4fbc36ac36e487b553448bbce2a3170a16cbe047;hpb=0418cc5ca78dc31a9039cc028108294335899746;p=libpicofe.git diff --git a/config_file.c b/config_file.c index 4fbc36a..a1e67ae 100644 --- a/config_file.c +++ b/config_file.c @@ -5,6 +5,7 @@ * (at your option): * - GNU GPL, version 2 or later. * - GNU LGPL, version 2.1 or later. + * - MAME license. * See the COPYING file in the top-level directory. */ @@ -146,14 +147,14 @@ static int parse_bind_val(const char *val, int *type) 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; - p = cfg; + p = cfg_content; while (p != NULL && (p = strstr(p, "binddev = ")) != NULL) { p += 10;