X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fuci.git;a=blobdiff_plain;f=uci.h;h=be816fd95ca5cc64578c0a2521a8a223bb87c833;hp=d2d8011ccb8301a4a74b4618985bfbc1494da3a1;hb=6c020def580232b9188232f044184c575a716cda;hpb=f1ae2ddc4ff16e541c46f595073bf277cd8f778a;ds=sidebyside diff --git a/uci.h b/uci.h index d2d8011..be816fd 100644 --- a/uci.h +++ b/uci.h @@ -146,7 +146,7 @@ extern int uci_unload(struct uci_context *ctx, struct uci_package *p); * If section is omitted, then a pointer to the config package is returned * If option is omitted, then a pointer to the config section is returned */ -extern int uci_lookup(struct uci_context *ctx, struct uci_element **res, struct uci_package *package, char *section, char *option); +extern int uci_lookup(struct uci_context *ctx, struct uci_element **res, struct uci_package *package, const char *section, const char *option); /** * uci_add_section: Add an unnamed section