lib: make masklen2ip6() safer and faster
diff --git a/lib/prefix.h b/lib/prefix.h
index 675f94d..12c0d07 100644
--- a/lib/prefix.h
+++ b/lib/prefix.h
@@ -199,7 +199,7 @@
 	*((struct prefix_ipv6 *)(DST)) = *((const struct prefix_ipv6 *)(SRC));
 
 extern int ip6_masklen (struct in6_addr);
-extern void masklen2ip6 (int, struct in6_addr *);
+extern void masklen2ip6 (const int, struct in6_addr *);
 
 extern void str2in6_addr (const char *, struct in6_addr *);
 extern const char *inet6_ntoa (struct in6_addr);