format-parser: Fix inconsistent use of "char *" vs "char[NUMBER]".
[pspp] / src / language / lexer / format-parser.h
index ae1f545dbf73e5f38cc56dbb6e487a16d3440a30..7601bc46b2ff9fd5c226a5985f0743dde066c423 100644 (file)
 
 #include <stdbool.h>
 
+#include "data/format.h"
+
 struct lexer;
 
-bool parse_abstract_format_specifier (struct lexer *, char *type,
-                                      int *width, int *decimals);
+bool parse_abstract_format_specifier (struct lexer *,
+                                      char type[FMT_TYPE_LEN_MAX + 1],
+                                      uint16_t *width, uint8_t *decimals);
 
 enum fmt_type ;
 struct fmt_spec;