lua: include /opt/local/lib and /opt/local/include in the search path on mac os x
[project/uci.git] / uci.h
diff --git a/uci.h b/uci.h
index 696f4f6..6d13ea6 100644 (file)
--- a/uci.h
+++ b/uci.h
@@ -9,7 +9,7 @@
  * This program is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
+ * GNU Lesser General Public License for more details.
  */
 
 #ifndef __LIBUCI_H
@@ -357,7 +357,7 @@ int uci_lookup_next(struct uci_context *ctx, struct uci_element **e, struct uci_
  * @n_opts: number of options to look up
  * @tb: array of pointers to found options
  */
-void uci_parse_section(struct uci_section *s, struct uci_parse_option *opts,
+void uci_parse_section(struct uci_section *s, const struct uci_parse_option *opts,
                       int n_opts, struct uci_option **tb);
 
 /**