]> git.proxmox.com Git - mirror_frr.git/blobdiff - bgpd/bgp_lcommunity.h
lib: hashing functions should take const arguments
[mirror_frr.git] / bgpd / bgp_lcommunity.h
index aa4e8c69fe4744e9a8eb3c24b6898ae26224ba90..a512395492f9788e92a39273012845b4a71f66d6 100644 (file)
@@ -63,7 +63,7 @@ extern struct lcommunity *lcommunity_uniq_sort(struct lcommunity *);
 extern struct lcommunity *lcommunity_intern(struct lcommunity *);
 extern bool lcommunity_cmp(const void *arg1, const void *arg2);
 extern void lcommunity_unintern(struct lcommunity **);
-extern unsigned int lcommunity_hash_make(void *);
+extern unsigned int lcommunity_hash_make(const void *);
 extern struct hash *lcommunity_hash(void);
 extern struct lcommunity *lcommunity_str2com(const char *);
 extern int lcommunity_match(const struct lcommunity *,