X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fuci.git;a=blobdiff_plain;f=history.c;h=ea6cf0ddbbe04719b33393c96f6c2506e7a55a2e;hp=73c1bf06ffaf845018009523dfc26303b11a5df3;hb=364e26378c4a5a37962a9e9d52c76b1531e7404f;hpb=f1ae2ddc4ff16e541c46f595073bf277cd8f778a 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;