dictionary: Make dict_get_weight_format() return by value, not pointer.
[pspp] / src / data / dictionary.h
index f709f11dd99324e1b45cae40186bc40296543988..e1d67ee7049ec131e883a334ec46e06a78f4c531 100644 (file)
@@ -102,7 +102,7 @@ double dict_get_rounded_case_weight (const struct dictionary *,
                                      const struct ccase *, bool *);
 struct variable *dict_get_weight (const struct dictionary *);
 void dict_set_weight (struct dictionary *, struct variable *);
-const struct fmt_spec *dict_get_weight_format (const struct dictionary *);
+struct fmt_spec dict_get_weight_format (const struct dictionary *);
 
 /* Filter variable. */
 struct variable *dict_get_filter (const struct dictionary *);