Signed-off-by: Rafaël Carré <fun...@videolan.org> --- config.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/config.c b/config.c index 98e8f1c..7f6e0be 100644 --- a/config.c +++ b/config.c @@ -525,7 +525,7 @@ static void check_deprecated_options(const char **option) } } -static struct option *config_alloc_longopts(struct config *cfg) +static struct option *config_alloc_longopts(void) { struct config_item *ci; struct option *opts; @@ -680,7 +680,7 @@ struct config *config_create(void) } STAILQ_INIT(&cfg->interfaces); - cfg->opts = config_alloc_longopts(cfg); + cfg->opts = config_alloc_longopts(); if (!cfg->opts) { free(cfg); return NULL; -- 2.17.1 ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Linuxptp-devel mailing list Linuxptp-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-devel