X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fformat.h;h=375b639f762c891184833556a78ef3ca3be12202;hb=37597beca4a11edba50b847932fdfeca3a648fa2;hp=7f4b5442799f1aaa731f3a3906bf63414c0d70f4;hpb=92820c3a68c8883f488874abceffd0f50ffcbcbc;p=pspp-builds.git diff --git a/src/format.h b/src/format.h index 7f4b5442..375b639f 100644 --- a/src/format.h +++ b/src/format.h @@ -71,9 +71,6 @@ struct fmt_spec /* Descriptions of all the display formats above. */ extern struct fmt_desc formats[]; -/* Translates SPSS formats to PSPP formats. */ -extern const int translate_fmt[40]; - union value; /* Maximum length of formatted value, in character. */ @@ -88,6 +85,7 @@ void convert_fmt_ItoO (const struct fmt_spec *input, struct fmt_spec *output); int get_format_var_width (const struct fmt_spec *); int parse_string_as_format (const char *s, int len, const struct fmt_spec *fp, int fc, union value *v); +int translate_fmt (int spss); void data_out (char *s, const struct fmt_spec *fp, const union value *v); char *fmt_to_string (const struct fmt_spec *); void num_to_string (double v, char *s, int w, int d);