From: Felix Fietkau Date: Sun, 20 Jan 2008 23:54:17 +0000 (+0100) Subject: remove unused argument X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=bc7b118f0a40709c985b54c96d826e9057c9f0dd;p=uci.git remove unused argument --- 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 */