make uci_file_commit() static
authorFelix Fietkau <nbd@openwrt.org>
Tue, 28 Dec 2010 17:14:39 +0000 (18:14 +0100)
committerFelix Fietkau <nbd@openwrt.org>
Tue, 28 Dec 2010 17:14:42 +0000 (18:14 +0100)
file.c

diff --git a/file.c b/file.c
index af42a3787973a6350d5ac12c77a3d9d914554727..5ab50a911a88e9f5cc510d8399b3fb309d6b8569 100644 (file)
--- a/file.c
+++ b/file.c
@@ -675,7 +675,7 @@ static char *uci_config_path(struct uci_context *ctx, const char *name)
        return filename;
 }
 
-void uci_file_commit(struct uci_context *ctx, struct uci_package **package, bool overwrite)
+static void uci_file_commit(struct uci_context *ctx, struct uci_package **package, bool overwrite)
 {
        struct uci_package *p = *package;
        FILE *f = NULL;