also link the shared libuci to libdl
[project/uci.git] / file.c
diff --git a/file.c b/file.c
index af42a37..5ab50a9 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;