These functions were not used outside format.c anyhow.
static int max_digits_for_bytes (int bytes);
-void fmt_number_style_init (struct fmt_number_style *style);
+static void fmt_number_style_init (struct fmt_number_style *);
+static void fmt_number_style_destroy (struct fmt_number_style *);
/* Initialize the format module. */
return map[bytes - 1];
}
\f
-
-
-void
+static void
fmt_number_style_init (struct fmt_number_style *style)
{
style->neg_prefix = ss_empty ();
/* Destroys a struct fmt_number_style. */
-void
+static void
fmt_number_style_destroy (struct fmt_number_style *style)
{
if (style != NULL)
struct fmt_number_style. */
#define FMT_STYLE_AFFIX_MAX 16
-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 *);