From bc7b118f0a40709c985b54c96d826e9057c9f0dd Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Mon, 21 Jan 2008 00:54:17 +0100 Subject: [PATCH] remove unused argument --- cli.c | 2 +- list.c | 2 +- uci.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cli.c b/cli.c index 23386c1..ab0f9b8 100644 --- a/cli.c +++ b/cli.c @@ -59,7 +59,7 @@ static void uci_show_file(const char *name) static int uci_show(int argc, char **argv) { - char **configs = uci_list_configs(ctx); + char **configs = uci_list_configs(); char **p; if (!configs) diff --git a/list.c b/list.c index 48bc17f..0b3dd94 100644 --- a/list.c +++ b/list.c @@ -190,7 +190,7 @@ static inline char *get_filename(char *path) return p; } -char **uci_list_configs(struct uci_context *ctx) +char **uci_list_configs() { char **configs; glob_t globbuf; diff --git a/uci.h b/uci.h index 5e6baf6..65fb7d3 100644 --- a/uci.h +++ b/uci.h @@ -89,7 +89,7 @@ extern int uci_cleanup(struct uci_context *ctx); * * @ctx: uci context */ -extern char **uci_list_configs(struct uci_context *ctx); +extern char **uci_list_configs(); /* UCI data structures */ -- 2.41.1