rename a helper function since the name was in use

This commit is contained in:
Wolfgang (Blub) Bumiller 2012-08-08 12:26:22 +02:00
parent 0bee759406
commit edd5da4c49

4
main.c
View file

@ -308,7 +308,7 @@ static bool options_parse(int argc, char **argv) {
return true; return true;
} }
static void options_setflag(uint32_t *flags, size_t idx, bool on) static void options_set(uint32_t *flags, size_t idx, bool on)
{ {
longbit lb = LONGBIT(idx); longbit lb = LONGBIT(idx);
#if 0 #if 0
@ -334,7 +334,7 @@ int main(int argc, char **argv) {
app_name = argv[0]; app_name = argv[0];
/* default options / warn flags */ /* default options / warn flags */
options_setflag(opts_warn, WARN_UNKNOWN_CONTROL_SEQUENCE, true); options_set(opts_warn, WARN_UNKNOWN_CONTROL_SEQUENCE, true);
if (!options_parse(argc, argv)) { if (!options_parse(argc, argv)) {
return usage(); return usage();