X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fmath%2Fgroup.h;h=72f3cb5d7409334ffbe1abfa0dba54333396a13b;hb=cc2f230e7056734a2f7db67fbf9646a549496021;hp=1967e6550c45365264bb8832d1cd3bff1a530bec;hpb=43b1296aafe7582e7dbe6c2b6a8b478d7d9b0fcf;p=pspp-builds.git diff --git a/src/math/group.h b/src/math/group.h index 1967e655..72f3cb5d 100644 --- a/src/math/group.h +++ b/src/math/group.h @@ -18,10 +18,8 @@ #ifndef GROUP_H #define GROUP_H - #include - /* Statistics for grouped data */ struct group_statistics { @@ -64,25 +62,11 @@ struct group_statistics /* min and max values */ double minimum ; double maximum ; - - }; +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 struct group_statistics *a, - const struct group_statistics *b, - int width); - -unsigned hash_group(const struct group_statistics *g, int width); - -void free_group(struct group_statistics *v, void *aux); - - +void free_group (struct group_statistics *v, void *aux); #endif