projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rename compare_values, hash_values with "_short" suffix.
[pspp-builds.git]
/
src
/
math
/
group.c
diff --git
a/src/math/group.c
b/src/math/group.c
index 6101c350e483457f372a6f6ca7ae3d1aec16a385..b5c9e56cdccc7435b31659f33e537c53e4b6268d 100644
(file)
--- a/
src/math/group.c
+++ b/
src/math/group.c
@@
-35,7
+35,7
@@
compare_group (const void *a_,
{
const struct group_statistics *a = a_;
const struct group_statistics *b = b_;
{
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_;;
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;
}
return id_hash;
}