diff options
author | 2019-02-15 17:13:38 +0100 | |
---|---|---|
committer | 2019-03-22 12:21:54 +0100 | |
commit | 1283a8261cf0d44c61f6f5425a68b2e8ca22aabe (patch) | |
tree | d2926c219af4d3684874632d4d07420598cb9235 /src/main-afs-supervisor.c | |
parent | 78cb4b202221b7ac90ffb586da362f3efb9f27b1 (diff) |
Rename afb-config to afb-args
With the introduction of more compilation flags,
it becomes interesting to use a configuration
file.
The configuration file is usually "config.h".
So that renaming avoids future ambiguity.
It also reflects better what the module does.
Change-Id: I952adc1e1bf469132dc224900bd9140ccc51c58b
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'src/main-afs-supervisor.c')
-rw-r--r-- | src/main-afs-supervisor.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main-afs-supervisor.c b/src/main-afs-supervisor.c index 6b79c9c1..e56e1d86 100644 --- a/src/main-afs-supervisor.c +++ b/src/main-afs-supervisor.c @@ -34,7 +34,7 @@ #include "afb-session.h" #include "afs-supervisor.h" -#include "afs-config.h" +#include "afs-args.h" #include "verbose.h" #include "jobs.h" @@ -46,7 +46,7 @@ #endif /* the main config */ -struct afs_config *main_config; +struct afs_args *main_config; /* the main apiset */ struct afb_apiset *main_apiset; @@ -212,7 +212,7 @@ error: int main(int ac, char **av) { /* scan arguments */ - main_config = afs_config_parse_arguments(ac, av); + main_config = afs_args_parse(ac, av); if (main_config->name) { verbose_set_name(main_config->name, 0); process_name_set_name(main_config->name); |