X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fvar.h;h=c1ad04c5ef2803560c8ce02bc27b681078b193ad;hb=0dfeb46aa388fae94797accde705a13d9ef7aff8;hp=cade9d3eecc241e898fcc46113b0be8df0c3a2e2;hpb=205eaea8e2d95e20baa2c00a495b0ac4f9646372;p=pspp diff --git a/src/var.h b/src/var.h index cade9d3eec..c1ad04c5ef 100644 --- a/src/var.h +++ b/src/var.h @@ -22,8 +22,7 @@ #include #include "format.h" -#include "t-test.h" -#include "oneway.h" +#include "group_proc.h" #include "val.h" /* Frequency tables. */ @@ -220,8 +219,7 @@ struct variable struct means_proc mns; struct matrix_data_proc mxd; struct match_files_proc mtf; - struct t_test_proc t_t; - struct oneway_proc ww; + struct group_proc grp_data; } p; }; @@ -435,4 +433,13 @@ int parse_var_set_vars (const struct var_set *, struct variable ***, int *, int parse_DATA_LIST_vars (char ***names, int *cnt, int opts); int parse_mixed_vars (char ***names, int *cnt, int opts); + + +/* Return a string representing this variable, in the form most + appropriate from a human factors perspective. + (IE: the label if it has one, otherwise the name ) +*/ +const char * var_to_string(const struct variable *var); + + #endif /* !var_h */