]> git.proxmox.com Git - mirror_frr.git/blobdiff - nhrpd/reqid.c
lib: hashing functions should take const arguments
[mirror_frr.git] / nhrpd / reqid.c
index 08a007bdf933c19adb3537e16f1aef517a997419..e56bbe3bf779b238c7598a4c66f1bc100bd8a492 100644 (file)
@@ -2,9 +2,9 @@
 #include "hash.h"
 #include "nhrpd.h"
 
-static unsigned int nhrp_reqid_key(void *data)
+static unsigned int nhrp_reqid_key(const void *data)
 {
-       struct nhrp_reqid *r = data;
+       const struct nhrp_reqid *r = data;
        return r->request_id;
 }