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