]> ruderich.org/simon Gitweb - nsscash/nsscash.git/blobdiff - nss/search.c
nss: search: make search_key argument const
[nsscash/nsscash.git] / nss / search.c
index d4f71068003e88c487f4b0c909b441e43330217e..256001f16e1d19ac4b03706a81dee8266859ffc6 100644 (file)
@@ -50,6 +50,6 @@ static int bsearch_callback(const void *x, const void *y) {
     }
 }
 
-uint64_t *search(struct search_key *key, const void *index, uint64_t count) {
+uint64_t *search(const struct search_key *key, const void *index, uint64_t count) {
     return bsearch(key, index, count, sizeof(uint64_t), bsearch_callback);
 }