X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fuci.git;a=blobdiff_plain;f=history.c;h=ea6cf0ddbbe04719b33393c96f6c2506e7a55a2e;hp=73c1bf06ffaf845018009523dfc26303b11a5df3;hb=b415649d5f68621559b03780c24f03f155796fcb;hpb=6c020def580232b9188232f044184c575a716cda diff --git a/history.c b/history.c index 73c1bf0..ea6cf0d 100644 --- 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;