chiark
/
gitweb
/
~ian
/
secnet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make list_length and string_item_to_ipaddr const-correct.
[secnet.git]
/
ipaddr.h
diff --git
a/ipaddr.h
b/ipaddr.h
index 54f10d434367988a596f526c6fb1f267b75fe544..de41b7db61eccf09a4ee097b0ee42b2087b08d8f 100644
(file)
--- a/
ipaddr.h
+++ b/
ipaddr.h
@@
-53,6
+53,6
@@
extern string_t subnet_to_string(struct subnet sn);
extern struct ipset *string_list_to_ipset(list_t *l,struct cloc loc,
cstring_t module, cstring_t param);
extern struct ipset *string_list_to_ipset(list_t *l,struct cloc loc,
cstring_t module, cstring_t param);
-extern uint32_t string_item_to_ipaddr(item_t *i, cstring_t desc);
+extern uint32_t string_item_to_ipaddr(
const
item_t *i, cstring_t desc);
#endif /* ipaddr_h */
#endif /* ipaddr_h */