Rename compare_values, hash_values with "_short" suffix.
[pspp-builds.git] / src / math / group.c
index 6101c350e483457f372a6f6ca7ae3d1aec16a385..b5c9e56cdccc7435b31659f33e537c53e4b6268d 100644 (file)
@@ -35,7 +35,7 @@ compare_group (const void *a_,
 {
   const struct group_statistics *a = a_;
   const struct group_statistics *b = b_;
-  return compare_values(&a->id, &b->id, var);
+  return compare_values_short (&a->id, &b->id, var);
 }
 
 
@@ -46,7 +46,7 @@ hash_group (const void *g_, const void *var)
   unsigned id_hash;
   const struct group_statistics *g = g_;;
 
-  id_hash = hash_value(&g->id, var);
+  id_hash = hash_value_short (&g->id, var);
 
   return id_hash;
 }