summaryrefslogtreecommitdiff
path: root/locale/programs/locfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'locale/programs/locfile.c')
-rw-r--r--locale/programs/locfile.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/locale/programs/locfile.c b/locale/programs/locfile.c
index cb98a5d530..89dc6bb539 100644
--- a/locale/programs/locfile.c
+++ b/locale/programs/locfile.c
@@ -25,6 +25,7 @@ Boston, MA 02111-1307, USA. */
#include <fcntl.h>
#include <locale.h>
#include <malloc.h>
+#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <sys/stat.h>
@@ -913,10 +914,11 @@ check_all_categories (struct localedef_t *locale, struct charset_t *charset)
void
-write_all_categories (struct localedef_t *locale, const char *output_path)
+write_all_categories (struct localedef_t *locale, struct charset_t *charset,
+ const char *output_path)
{
/* Call all functions to write locale data. */
- ctype_output (locale, output_path);
+ ctype_output (locale, charset, output_path);
collate_output (locale, output_path);
monetary_output (locale, output_path);
numeric_output (locale, output_path);