about summary refs log tree commit diff
path: root/locale/programs/localedef.h
diff options
context:
space:
mode:
Diffstat (limited to 'locale/programs/localedef.h')
-rw-r--r--locale/programs/localedef.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/locale/programs/localedef.h b/locale/programs/localedef.h
index 075cf8982f..31721c5353 100644
--- a/locale/programs/localedef.h
+++ b/locale/programs/localedef.h
@@ -98,9 +98,11 @@ struct localedef_t
     struct locale_telephone_t *telephone;
     struct locale_measurement_t *measurement;
     struct locale_identification_t *identification;
-  } categories[12];
+  } categories[__LC_LAST];
 
-  size_t len[12];
+  size_t len[__LC_LAST];
+
+  const char *copy_name[__LC_LAST];
 
   const char *repertoire_name;
 };
@@ -121,7 +123,8 @@ extern char *xstrdup (const char *__str);
 
 /* Mark given locale as to be read.  */
 extern struct localedef_t *add_to_readlist (int locale, const char *name,
-					    const char *repertoire_name);
+					    const char *repertoire_name,
+					    int generate);
 
 /* Find the information for the locale NAME.  */
 extern struct localedef_t *find_locale (int locale, const char *name,