treewide: Use struct fmt_spec by value instead of pointer in most cases.
[pspp] / src / language / commands / data-parser.h
index 1ac9cbe610354313c7623f56c6e3a9c30c7f5546..0194c066f4b8a6be498dfb06fae23b606b62291b 100644 (file)
@@ -67,11 +67,10 @@ void data_parser_set_records (struct data_parser *, int records_per_case);
 
 /* Field setup and parsing. */
 void data_parser_add_delimited_field (struct data_parser *,
-                                      const struct fmt_spec *, int fv,
+                                      struct fmt_spec, int fv,
                                       const char *name);
 void data_parser_add_fixed_field (struct data_parser *,
-                                  const struct fmt_spec *, int fv,
-                                  const char *name,
+                                  struct fmt_spec, int fv, const char *name,
                                   int record, int first_column);
 bool data_parser_any_fields (const struct data_parser *);
 bool data_parser_parse (struct data_parser *, struct dfm_reader *,