X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fmath%2Fgroup.h;h=1e0b26724d0d2dc559966deb6b94c7984f7b7a3c;hb=81579d9e9f994fb2908f50af41c3eb033d216e58;hp=c5470b2578f2a1948e66a1ca6e6ae220d1616ecb;hpb=9a331fe64eb814ae5c1322e21717a04fb254bf65;p=pspp-builds.git diff --git a/src/math/group.h b/src/math/group.h index c5470b25..1e0b2672 100644 --- a/src/math/group.h +++ b/src/math/group.h @@ -1,5 +1,5 @@ /* PSPP - a program for statistical analysis. - Copyright (C) 2004 Free Software Foundation, Inc. + Copyright (C) 2004, 2011 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -18,7 +18,7 @@ #ifndef GROUP_H #define GROUP_H -#include +#include "data/value.h" /* Statistics for grouped data */ struct group_statistics @@ -67,18 +67,6 @@ struct group_statistics struct variable ; -/* These funcs are useful for hash tables */ - -/* Return -1 if the id of a is less than b; +1 if greater than and - 0 if equal */ -int compare_group (const void *a, - const void *b, - const void *var); - -unsigned int hash_group (const void *g, const void *var); - void free_group (struct group_statistics *v, void *aux); - - #endif