Fix uci show for sections and options.
[project/uci.git] / uci.h
diff --git a/uci.h b/uci.h
index d17dee7..cb9fd66 100644 (file)
--- a/uci.h
+++ b/uci.h
@@ -203,7 +203,7 @@ extern int uci_delete_element(struct uci_context *ctx, struct uci_element *e);
  * @section: section name
  * @option: option name (optional)
  */
-extern int uci_delete(struct uci_context *ctx, struct uci_package *p, char *section, char *option);
+extern int uci_delete(struct uci_context *ctx, struct uci_package *p, const char *section, const char *option);
 
 /**
  * uci_save: save change history for a package