X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fdata%2Fvardict.h;h=ae74b1cf5c755a190d2ffd6d931e26b1022d485b;hb=853329fd7c721a0b430a80abe0308d5eb1b1002c;hp=809c564c86bbdf5e5c9375215a22a19a19feb636;hpb=f550aee00a62fe1d8baf62d83cd7efef6cc2ee92;p=pspp diff --git a/src/data/vardict.h b/src/data/vardict.h index 809c564c86..ae74b1cf5c 100644 --- a/src/data/vardict.h +++ b/src/data/vardict.h @@ -29,7 +29,6 @@ struct vardict_info struct dictionary *dict; struct variable *var; struct hmap_node name_node; /* In struct dictionary's name_map. */ - int case_index; /* Index into case of variable data. */ }; /* Called by dictionary code, defined in variable.c. */ @@ -39,18 +38,10 @@ bool var_has_vardict (const struct variable *); void var_clear_vardict (struct variable *); /* Called by variable.c, defined in dictionary.c. */ -void dict_var_changed (const struct variable *v); -void dict_var_resized (const struct variable *v, int old_width); -void dict_var_display_width_changed (const struct variable *v); +void dict_var_changed (const struct variable *v, unsigned int what, struct variable *ov); int vardict_get_dict_index (const struct vardict_info *); -static inline int -vardict_get_case_index (const struct vardict_info *vardict) -{ - return vardict->case_index; -} - static inline struct dictionary * vardict_get_dictionary (const struct vardict_info *vardict) {