format: Move is_fmt_type() prototype near more-related functions.
authorBen Pfaff <blp@cs.stanford.edu>
Sun, 29 Aug 2010 19:36:24 +0000 (12:36 -0700)
committerBen Pfaff <blp@cs.stanford.edu>
Sun, 29 Aug 2010 21:57:55 +0000 (14:57 -0700)
src/data/format.h

index ba3979fb5f1cee1fcf77d793b9fbc30d51184f9a..b20829272d1fcde1fbc063b2ea901b8fe683f44a 100644 (file)
@@ -112,6 +112,8 @@ void fmt_fix_input (struct fmt_spec *);
 void fmt_fix_output (struct fmt_spec *);
 
 /* Format types. */
+bool is_fmt_type (enum fmt_type);
+
 const char *fmt_name (enum fmt_type) PURE_FUNCTION;
 bool fmt_from_name (const char *name, enum fmt_type *);
 
@@ -151,8 +153,6 @@ void fmt_number_style_destroy (struct fmt_number_style *);
 int fmt_affix_width (const struct fmt_number_style *);
 int fmt_neg_affix_width (const struct fmt_number_style *);
 
-bool is_fmt_type (enum fmt_type);
-
 const struct fmt_number_style *fmt_get_style (const struct fmt_number_style *,      enum fmt_type);
 
 void fmt_check_style (const struct fmt_number_style *style);