about summary refs log tree commit diff
path: root/locale/programs
diff options
context:
space:
mode:
Diffstat (limited to 'locale/programs')
-rw-r--r--locale/programs/ld-collate.c2
-rw-r--r--locale/programs/ld-ctype.c2
-rw-r--r--locale/programs/locale.c6
3 files changed, 9 insertions, 1 deletions
diff --git a/locale/programs/ld-collate.c b/locale/programs/ld-collate.c
index aee2daaa69..b228834eaa 100644
--- a/locale/programs/ld-collate.c
+++ b/locale/programs/ld-collate.c
@@ -2240,6 +2240,8 @@ collate_output (struct localedef_t *locale, struct charmap_t *charmap,
      the table.  In case we have more than one sequence starting with
      the same byte we have to use extra indirection.  */
   {
+    auto void add_to_tablewc (uint32_t ch, struct element_t *runp);
+
     void add_to_tablewc (uint32_t ch, struct element_t *runp)
       {
 	if (runp->wcnext == NULL && runp->nwcs == 1)
diff --git a/locale/programs/ld-ctype.c b/locale/programs/ld-ctype.c
index a5bf63f71d..fd427f162e 100644
--- a/locale/programs/ld-ctype.c
+++ b/locale/programs/ld-ctype.c
@@ -2876,6 +2876,8 @@ set_class_defaults (struct locale_ctype_t *ctype, struct charmap_t *charmap,
      It may seem that the order of these if-blocks is arbitrary but it is NOT.
      Don't move them unless you know what you do!  */
 
+  auto void set_default (int bitpos, int from, int to);
+
   void set_default (int bitpos, int from, int to)
     {
       char tmp[2];
diff --git a/locale/programs/locale.c b/locale/programs/locale.c
index 4d63441cea..823be8d8fe 100644
--- a/locale/programs/locale.c
+++ b/locale/programs/locale.c
@@ -501,6 +501,8 @@ show_locale_vars (void)
   const char *lcall = getenv ("LC_ALL");
   const char *lang = getenv ("LANG") ? : "POSIX";
 
+  auto void get_source (const char *name);
+
   void get_source (const char *name)
     {
       char *val = getenv (name);
@@ -530,6 +532,8 @@ show_info (const char *name)
 {
   size_t cat_no;
 
+  auto void print_item (struct cat_item *item);
+
   void print_item (struct cat_item *item)
     {
       switch (item->value_type)
@@ -634,7 +638,7 @@ show_info (const char *name)
 	     information is available in a multibyte string.  */
 	default:
 	  break;
-	  
+
 	}
     }