lua binding: add .name attribute for sections pushed by uci.foreach and uci.get_all
[project/uci.git] / history.c
index 73c1bf0..ea6cf0d 100644 (file)
--- a/history.c
+++ b/history.c
@@ -28,7 +28,7 @@
 
 /* record a change that was done to a package */
 void
-uci_add_history(struct uci_context *ctx, struct uci_list *list, int cmd, char *section, char *option, char *value)
+uci_add_history(struct uci_context *ctx, struct uci_list *list, int cmd, const char *section, const char *option, const char *value)
 {
        struct uci_history *h;
        int size = strlen(section) + 1;