chiark / gitweb /
hashmap: introduce hash_ops to make struct Hashmap smaller
[elogind.git] / src / shared / logs-show.c
index 5538dd3b9e17e1dc2e59ca120bf2c68b41b951f8..5a7bbaf03a92fa08dea2310a406f48ba8cf657b4 100644 (file)
@@ -695,7 +695,7 @@ static int output_json(
                         sd_id128_to_string(boot_id, sid));
         }
 
-        h = hashmap_new(string_hash_func, string_compare_func);
+        h = hashmap_new(&string_hash_ops);
         if (!h)
                 return -ENOMEM;