chiark / gitweb /
hashmap: introduce hash_ops to make struct Hashmap smaller
[elogind.git] / src / journal / journalctl.c
index d00a815ba9ce3d06fe934de026c36520f6782cdb..47206d383a92f560ab9f4fb8839ceaf06739d550 100644 (file)
@@ -1029,7 +1029,7 @@ static int get_possible_units(sd_journal *j,
         const char *field;
         int r;
 
-        found = set_new(string_hash_func, string_compare_func);
+        found = set_new(&string_hash_ops);
         if (!found)
                 return log_oom();