Constify "address" argument of ng_address_path().
This commit is contained in:
parent
c835bd16a8
commit
707d205808
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=227130
@ -1135,7 +1135,7 @@ SYSCTL_DECL(_net_graph);
|
||||
*/
|
||||
int ng_address_ID(node_p here, item_p item, ng_ID_t ID, ng_ID_t retaddr);
|
||||
int ng_address_hook(node_p here, item_p item, hook_p hook, ng_ID_t retaddr);
|
||||
int ng_address_path(node_p here, item_p item, char *address, ng_ID_t raddr);
|
||||
int ng_address_path(node_p here, item_p item, const char *address, ng_ID_t raddr);
|
||||
int ng_bypass(hook_p hook1, hook_p hook2);
|
||||
hook_p ng_findhook(node_p node, const char *name);
|
||||
struct ng_type *ng_findtype(const char *type);
|
||||
|
@ -3515,7 +3515,7 @@ ng_address_hook(node_p here, item_p item, hook_p hook, ng_ID_t retaddr)
|
||||
}
|
||||
|
||||
int
|
||||
ng_address_path(node_p here, item_p item, char *address, ng_ID_t retaddr)
|
||||
ng_address_path(node_p here, item_p item, const char *address, ng_ID_t retaddr)
|
||||
{
|
||||
node_p dest = NULL;
|
||||
hook_p hook = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user