projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
q2c: T_RPAREN should be T_LPAREN for matching a left parenthesis.
[pspp]
/
src
/
math
/
group.h
diff --git
a/src/math/group.h
b/src/math/group.h
index bc82c8ab8234424853cf2672764277145a22d90b..c5470b2578f2a1948e66a1ca6e6ae220d1616ecb 100644
(file)
--- a/
src/math/group.h
+++ b/
src/math/group.h
@@
-18,10
+18,8
@@
#ifndef GROUP_H
#define GROUP_H
#ifndef GROUP_H
#define GROUP_H
-
#include <data/value.h>
#include <data/value.h>
-
/* Statistics for grouped data */
struct group_statistics
{
/* Statistics for grouped data */
struct group_statistics
{
@@
-67,17
+65,17
@@
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 */
/* 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
);
+int compare_group (const
void
*a,
+ const
void
*b,
+
const void *var
);
-unsigned
hash_group (const struct group_statistics *g, int width
);
+unsigned
int hash_group (const void *g, const void *var
);
void free_group (struct group_statistics *v, void *aux);
void free_group (struct group_statistics *v, void *aux);