Change enum legacy_encoding to const char *.
[pspp-builds.git] / src / data / data-in.h
index 6ba9a5882216af9996e64d619eae97ee8c3463a9..5256bb9132553b46075f4f5526c20f8e936f7e8f 100644 (file)
 #define DATA_DATA_IN_H 1
 
 #include <stdbool.h>
-#include <data/format.h>
 #include <libpspp/legacy-encoding.h>
 #include <libpspp/float-format.h>
 #include <libpspp/integer-format.h>
 #include <libpspp/str.h>
+#include <data/format.h>
 
-
+enum fmt_type;
 union value;
-bool data_in (struct substring input, enum legacy_encoding,
+bool data_in (struct substring input, const char *encoding,
               enum fmt_type, int implied_decimals,
               int first_column, int last_column,
               union value *output, int width);