X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fuci.git;a=blobdiff_plain;f=uci.h;h=d2d8011ccb8301a4a74b4618985bfbc1494da3a1;hp=0850ad69fff7b2e862eb871d67bdc12091e9ba99;hb=f1ae2ddc4ff16e541c46f595073bf277cd8f778a;hpb=68b14ef1b57500966d7e070cefebcd559acc202a diff --git a/uci.h b/uci.h index 0850ad6..d2d8011 100644 --- a/uci.h +++ b/uci.h @@ -262,7 +262,7 @@ extern int uci_add_history_path(struct uci_context *ctx, const char *dir); * @section: section name (optional) * @option option name (optional) */ -extern int uci_revert(struct uci_context *ctx, struct uci_package **p, char *section, char *option); +extern int uci_revert(struct uci_context *ctx, struct uci_package **p, const char *section, const char *option); /** * uci_parse_argument: parse a shell-style argument, with an arbitrary quoting style