X-Git-Url: http://pilppa.org/gitweb/?a=blobdiff_plain;f=libuci.c;h=6e9587b9e0fb0e1abc2108980fcb09d272893d3e;hb=6ce771b1095c220f849e70cdcbf23bd09f7fe7d5;hp=a1fd92a1277713da3449bfb65e2bb84b1fdc57cc;hpb=a20ce3e0b064e0694a3b6c1e99456f1057ceb707;p=uci.git diff --git a/libuci.c b/libuci.c index a1fd92a..6e9587b 100644 --- a/libuci.c +++ b/libuci.c @@ -40,14 +40,12 @@ static const char *uci_errstr[] = { [UCI_ERR_UNKNOWN] = "Unknown error", }; -static void uci_cleanup(struct uci_context *ctx); static void uci_unload_plugin(struct uci_context *ctx, struct uci_plugin *p); #include "uci_internal.h" #include "util.c" #include "list.c" #include "history.c" -#include "file.c" /* exported functions */ struct uci_context *uci_alloc_context(void) @@ -117,7 +115,7 @@ int uci_set_confdir(struct uci_context *ctx, const char *dir) return 0; } -static void uci_cleanup(struct uci_context *ctx) +__private void uci_cleanup(struct uci_context *ctx) { struct uci_parse_context *pctx;