]> git.proxmox.com Git - mirror_frr.git/blobdiff - isisd/isis_spf_private.h
lib: hashing functions should take const arguments
[mirror_frr.git] / isisd / isis_spf_private.h
index 3a2a52afac28c5b04badd9edfe67d4e53ff6dd33..a8185a8be0fec76b0a5170457d87d453e9f9d503 100644 (file)
@@ -79,9 +79,9 @@ struct isis_vertex_queue {
 };
 
 __attribute__((__unused__))
-static unsigned isis_vertex_queue_hash_key(void *vp)
+static unsigned isis_vertex_queue_hash_key(const void *vp)
 {
-       struct isis_vertex *vertex = vp;
+       const struct isis_vertex *vertex = vp;
 
        if (VTYPE_IP(vertex->type)) {
                uint32_t key;