c6d234
Introduce prototype-style function definitions in the intl
c6d234
subdirectory.  Upstream, this was done as part of a gnulib import:
c6d234
c6d234
commit 6d248857845aee307440a77062a93b167cd2ac9c
c6d234
Author: Will Newton <will.newton@linaro.org>
c6d234
Date:   Wed Dec 10 12:03:53 2014 +0000
c6d234
c6d234
    intl: Merge with gettext version 0.19.3
c6d234
c6d234
diff --git a/intl/bindtextdom.c b/intl/bindtextdom.c
c6d234
index 98a3606db1353957..64c683384e62ce36 100644
c6d234
--- a/intl/bindtextdom.c
c6d234
+++ b/intl/bindtextdom.c
c6d234
@@ -96,10 +96,8 @@ static void set_binding_values PARAMS ((const char *domainname,
c6d234
    If DIRNAMEP or CODESETP is NULL, the corresponding attribute is neither
c6d234
    modified nor returned.  */
c6d234
 static void
c6d234
-set_binding_values (domainname, dirnamep, codesetp)
c6d234
-     const char *domainname;
c6d234
-     const char **dirnamep;
c6d234
-     const char **codesetp;
c6d234
+set_binding_values (const char *domainname, const char **dirnamep,
c6d234
+		    const char **codesetp)
c6d234
 {
c6d234
   struct binding *binding;
c6d234
   int modified;
c6d234
@@ -341,9 +339,7 @@ set_binding_values (domainname, dirnamep, codesetp)
c6d234
 /* Specify that the DOMAINNAME message catalog will be found
c6d234
    in DIRNAME rather than in the system locale data base.  */
c6d234
 char *
c6d234
-BINDTEXTDOMAIN (domainname, dirname)
c6d234
-     const char *domainname;
c6d234
-     const char *dirname;
c6d234
+BINDTEXTDOMAIN (const char *domainname, const char *dirname)
c6d234
 {
c6d234
   set_binding_values (domainname, &dirname, NULL);
c6d234
   return (char *) dirname;
c6d234
@@ -352,9 +348,7 @@ BINDTEXTDOMAIN (domainname, dirname)
c6d234
 /* Specify the character encoding in which the messages from the
c6d234
    DOMAINNAME message catalog will be returned.  */
c6d234
 char *
c6d234
-BIND_TEXTDOMAIN_CODESET (domainname, codeset)
c6d234
-     const char *domainname;
c6d234
-     const char *codeset;
c6d234
+BIND_TEXTDOMAIN_CODESET (const char *domainname, const char *codeset)
c6d234
 {
c6d234
   set_binding_values (domainname, NULL, &codeset);
c6d234
   return (char *) codeset;
c6d234
diff --git a/intl/dcgettext.c b/intl/dcgettext.c
c6d234
index 0f2942be4556ef97..a54c747e346b7599 100644
c6d234
--- a/intl/dcgettext.c
c6d234
+++ b/intl/dcgettext.c
c6d234
@@ -44,10 +44,7 @@
c6d234
 /* Look up MSGID in the DOMAINNAME message catalog for the current CATEGORY
c6d234
    locale.  */
c6d234
 char *
c6d234
-DCGETTEXT (domainname, msgid, category)
c6d234
-     const char *domainname;
c6d234
-     const char *msgid;
c6d234
-     int category;
c6d234
+DCGETTEXT (const char *domainname, const char *msgid, int category)
c6d234
 {
c6d234
   return DCIGETTEXT (domainname, msgid, NULL, 0, 0, category);
c6d234
 }
c6d234
diff --git a/intl/dcigettext.c b/intl/dcigettext.c
c6d234
index c005f1b88d2da1a5..02eb8ad10ebd6eb4 100644
c6d234
--- a/intl/dcigettext.c
c6d234
+++ b/intl/dcigettext.c
c6d234
@@ -225,9 +225,7 @@ static void *root;
c6d234
 /* Function to compare two entries in the table of known translations.  */
c6d234
 static int transcmp PARAMS ((const void *p1, const void *p2));
c6d234
 static int
c6d234
-transcmp (p1, p2)
c6d234
-     const void *p1;
c6d234
-     const void *p2;
c6d234
+transcmp (const void *p1, const void *p2)
c6d234
 {
c6d234
   const struct known_translation_t *s1;
c6d234
   const struct known_translation_t *s2;
c6d234
@@ -407,13 +405,8 @@ static int enable_secure;
c6d234
    CATEGORY locale and, if PLURAL is nonzero, search over string
c6d234
    depending on the plural form determined by N.  */
c6d234
 char *
c6d234
-DCIGETTEXT (domainname, msgid1, msgid2, plural, n, category)
c6d234
-     const char *domainname;
c6d234
-     const char *msgid1;
c6d234
-     const char *msgid2;
c6d234
-     int plural;
c6d234
-     unsigned long int n;
c6d234
-     int category;
c6d234
+DCIGETTEXT (const char *domainname, const char *msgid1, const char *msgid2,
c6d234
+	    int plural, unsigned long int n, int category)
c6d234
 {
c6d234
 #ifndef HAVE_ALLOCA
c6d234
   struct block_list *block_list = NULL;
c6d234
@@ -743,12 +736,8 @@ DCIGETTEXT (domainname, msgid1, msgid2, plural, n, category)
c6d234
 
c6d234
 char *
c6d234
 internal_function
c6d234
-_nl_find_msg (domain_file, domainbinding, msgid, convert, lengthp)
c6d234
-     struct loaded_l10nfile *domain_file;
c6d234
-     struct binding *domainbinding;
c6d234
-     const char *msgid;
c6d234
-     int convert;
c6d234
-     size_t *lengthp;
c6d234
+_nl_find_msg (struct loaded_l10nfile *domain_file, struct binding *domainbinding,
c6d234
+	      const char *msgid, int convert, size_t *lengthp)
c6d234
 {
c6d234
   struct loaded_domain *domain;
c6d234
   nls_uint32 nstrings;
c6d234
@@ -1242,11 +1231,8 @@ _nl_find_msg (domain_file, domainbinding, msgid, convert, lengthp)
c6d234
 /* Look up a plural variant.  */
c6d234
 static char *
c6d234
 internal_function
c6d234
-plural_lookup (domain, n, translation, translation_len)
c6d234
-     struct loaded_l10nfile *domain;
c6d234
-     unsigned long int n;
c6d234
-     const char *translation;
c6d234
-     size_t translation_len;
c6d234
+plural_lookup (struct loaded_l10nfile *domain, unsigned long int n,
c6d234
+	       const char *translation, size_t translation_len)
c6d234
 {
c6d234
   struct loaded_domain *domaindata = (struct loaded_domain *) domain->data;
c6d234
   unsigned long int index;
c6d234
@@ -1283,8 +1269,7 @@ plural_lookup (domain, n, translation, translation_len)
c6d234
 /* Return string representation of locale CATEGORY.  */
c6d234
 static const char *
c6d234
 internal_function
c6d234
-category_to_name (category)
c6d234
-     int category;
c6d234
+category_to_name (int category)
c6d234
 {
c6d234
   const char *retval;
c6d234
 
c6d234
@@ -1344,9 +1329,7 @@ category_to_name (category)
c6d234
 /* Guess value of current locale from value of the environment variables.  */
c6d234
 static const char *
c6d234
 internal_function
c6d234
-guess_category_value (category, categoryname)
c6d234
-     int category;
c6d234
-     const char *categoryname;
c6d234
+guess_category_value (int category, const char *categoryname)
c6d234
 {
c6d234
   const char *language;
c6d234
   const char *retval;
c6d234
@@ -1374,8 +1357,7 @@ guess_category_value (category, categoryname)
c6d234
 /* Returns the output charset.  */
c6d234
 static const char *
c6d234
 internal_function
c6d234
-get_output_charset (domainbinding)
c6d234
-     struct binding *domainbinding;
c6d234
+get_output_charset (struct binding *domainbinding)
c6d234
 {
c6d234
   /* The output charset should normally be determined by the locale.  But
c6d234
      sometimes the locale is not used or not correctly set up, so we provide
c6d234
@@ -1433,9 +1415,7 @@ get_output_charset (domainbinding)
c6d234
    to be defined.  */
c6d234
 #if !_LIBC && !HAVE_STPCPY
c6d234
 static char *
c6d234
-stpcpy (dest, src)
c6d234
-     char *dest;
c6d234
-     const char *src;
c6d234
+stpcpy (char *dest, const char *src)
c6d234
 {
c6d234
   while ((*dest++ = *src++) != '\0')
c6d234
     /* Do nothing. */ ;
c6d234
@@ -1445,10 +1425,7 @@ stpcpy (dest, src)
c6d234
 
c6d234
 #if !_LIBC && !HAVE_MEMPCPY
c6d234
 static void *
c6d234
-mempcpy (dest, src, n)
c6d234
-     void *dest;
c6d234
-     const void *src;
c6d234
-     size_t n;
c6d234
+mempcpy (void *dest, const void *src, size_t n)
c6d234
 {
c6d234
   return (void *) ((char *) memcpy (dest, src, n) + n);
c6d234
 }
c6d234
diff --git a/intl/dcngettext.c b/intl/dcngettext.c
c6d234
index b0e2ee8d8cb214ea..1a64fd1f818823c8 100644
c6d234
--- a/intl/dcngettext.c
c6d234
+++ b/intl/dcngettext.c
c6d234
@@ -44,12 +44,8 @@
c6d234
 /* Look up MSGID in the DOMAINNAME message catalog for the current CATEGORY
c6d234
    locale.  */
c6d234
 char *
c6d234
-DCNGETTEXT (domainname, msgid1, msgid2, n, category)
c6d234
-     const char *domainname;
c6d234
-     const char *msgid1;
c6d234
-     const char *msgid2;
c6d234
-     unsigned long int n;
c6d234
-     int category;
c6d234
+DCNGETTEXT (const char *domainname, const char *msgid1, const char *msgid2,
c6d234
+            unsigned long int n, int category)
c6d234
 {
c6d234
   return DCIGETTEXT (domainname, msgid1, msgid2, 1, n, category);
c6d234
 }
c6d234
diff --git a/intl/dgettext.c b/intl/dgettext.c
c6d234
index 7718f4e4e021bbfd..eba96b745c0c24c7 100644
c6d234
--- a/intl/dgettext.c
c6d234
+++ b/intl/dgettext.c
c6d234
@@ -46,9 +46,7 @@
c6d234
 /* Look up MSGID in the DOMAINNAME message catalog of the current
c6d234
    LC_MESSAGES locale.  */
c6d234
 char *
c6d234
-DGETTEXT (domainname, msgid)
c6d234
-     const char *domainname;
c6d234
-     const char *msgid;
c6d234
+DGETTEXT (const char *domainname, const char *msgid)
c6d234
 {
c6d234
   return DCGETTEXT (domainname, msgid, LC_MESSAGES);
c6d234
 }
c6d234
diff --git a/intl/dngettext.c b/intl/dngettext.c
c6d234
index 18ff68e94e7b19b3..8b62b1b7d60608b3 100644
c6d234
--- a/intl/dngettext.c
c6d234
+++ b/intl/dngettext.c
c6d234
@@ -46,11 +46,8 @@
c6d234
 /* Look up MSGID in the DOMAINNAME message catalog of the current
c6d234
    LC_MESSAGES locale and skip message according to the plural form.  */
c6d234
 char *
c6d234
-DNGETTEXT (domainname, msgid1, msgid2, n)
c6d234
-     const char *domainname;
c6d234
-     const char *msgid1;
c6d234
-     const char *msgid2;
c6d234
-     unsigned long int n;
c6d234
+DNGETTEXT (const char *domainname, const char *msgid1, const char *msgid2,
c6d234
+           unsigned long int n)
c6d234
 {
c6d234
   return DCNGETTEXT (domainname, msgid1, msgid2, n, LC_MESSAGES);
c6d234
 }
c6d234
diff --git a/intl/explodename.c b/intl/explodename.c
c6d234
index 52506c4c70671a29..679deebfc4a8a628 100644
c6d234
--- a/intl/explodename.c
c6d234
+++ b/intl/explodename.c
c6d234
@@ -40,8 +40,7 @@
c6d234
 static char *_nl_find_language PARAMS ((const char *name));
c6d234
 
c6d234
 static char *
c6d234
-_nl_find_language (name)
c6d234
-     const char *name;
c6d234
+_nl_find_language (const char *name)
c6d234
 {
c6d234
   while (name[0] != '\0' && name[0] != '_' && name[0] != '@' && name[0] != '.')
c6d234
     ++name;
c6d234
@@ -51,14 +50,9 @@ _nl_find_language (name)
c6d234
 
c6d234
 
c6d234
 int
c6d234
-_nl_explode_name (name, language, modifier, territory, codeset,
c6d234
-		  normalized_codeset)
c6d234
-     char *name;
c6d234
-     const char **language;
c6d234
-     const char **modifier;
c6d234
-     const char **territory;
c6d234
-     const char **codeset;
c6d234
-     const char **normalized_codeset;
c6d234
+_nl_explode_name (char *name, const char **language, const char **modifier,
c6d234
+		  const char **territory, const char **codeset,
c6d234
+		  const char **normalized_codeset)
c6d234
 {
c6d234
   char *cp;
c6d234
   int mask;
c6d234
diff --git a/intl/finddomain.c b/intl/finddomain.c
c6d234
index 4fff9dad5de54dad..6c3b80b26b6fc88f 100644
c6d234
--- a/intl/finddomain.c
c6d234
+++ b/intl/finddomain.c
c6d234
@@ -49,11 +49,8 @@ static struct loaded_l10nfile *_nl_loaded_domains;
c6d234
    established bindings.  */
c6d234
 struct loaded_l10nfile *
c6d234
 internal_function
c6d234
-_nl_find_domain (dirname, locale, domainname, domainbinding)
c6d234
-     const char *dirname;
c6d234
-     char *locale;
c6d234
-     const char *domainname;
c6d234
-     struct binding *domainbinding;
c6d234
+_nl_find_domain (const char *dirname, char *locale, const char *domainname,
c6d234
+		 struct binding *domainbinding)
c6d234
 {
c6d234
   struct loaded_l10nfile *retval;
c6d234
   const char *language;
c6d234
diff --git a/intl/gettext.c b/intl/gettext.c
c6d234
index fbc598407d9a7e3a..028f0e713971b475 100644
c6d234
--- a/intl/gettext.c
c6d234
+++ b/intl/gettext.c
c6d234
@@ -52,8 +52,7 @@
c6d234
    LC_MESSAGES locale.  If not found, returns MSGID itself (the default
c6d234
    text).  */
c6d234
 char *
c6d234
-GETTEXT (msgid)
c6d234
-     const char *msgid;
c6d234
+GETTEXT (const char *msgid)
c6d234
 {
c6d234
   return DCGETTEXT (NULL, msgid, LC_MESSAGES);
c6d234
 }
c6d234
diff --git a/intl/hash-string.c b/intl/hash-string.c
c6d234
index 1b6cfa01b683a9f2..cf267492cc8d3834 100644
c6d234
--- a/intl/hash-string.c
c6d234
+++ b/intl/hash-string.c
c6d234
@@ -23,8 +23,7 @@
c6d234
    [see Aho/Sethi/Ullman, COMPILERS: Principles, Techniques and Tools,
c6d234
    1986, 1987 Bell Telephone Laboratories, Inc.]  */
c6d234
 unsigned long int
c6d234
-__hash_string (str_param)
c6d234
-     const char *str_param;
c6d234
+__hash_string (const char *str_param)
c6d234
 {
c6d234
   unsigned long int hval, g;
c6d234
   const char *str = str_param;
c6d234
diff --git a/intl/l10nflist.c b/intl/l10nflist.c
c6d234
index 424f2dffc3d7b8e6..7bc2ec81bbbc3d9c 100644
c6d234
--- a/intl/l10nflist.c
c6d234
+++ b/intl/l10nflist.c
c6d234
@@ -69,9 +69,7 @@ static char *stpcpy PARAMS ((char *dest, const char *src));
c6d234
 static size_t argz_count__ PARAMS ((const char *argz, size_t len));
c6d234
 
c6d234
 static size_t
c6d234
-argz_count__ (argz, len)
c6d234
-     const char *argz;
c6d234
-     size_t len;
c6d234
+argz_count__ (const char *argz, size_t len)
c6d234
 {
c6d234
   size_t count = 0;
c6d234
   while (len > 0)
c6d234
@@ -93,10 +91,7 @@ argz_count__ (argz, len)
c6d234
 static void argz_stringify__ PARAMS ((char *argz, size_t len, int sep));
c6d234
 
c6d234
 static void
c6d234
-argz_stringify__ (argz, len, sep)
c6d234
-     char *argz;
c6d234
-     size_t len;
c6d234
-     int sep;
c6d234
+argz_stringify__ (char *argz, size_t len, int sep)
c6d234
 {
c6d234
   while (len > 0)
c6d234
     {
c6d234
@@ -116,10 +111,7 @@ static char *argz_next__ PARAMS ((char *argz, size_t argz_len,
c6d234
 				  const char *entry));
c6d234
 
c6d234
 static char *
c6d234
-argz_next__ (argz, argz_len, entry)
c6d234
-     char *argz;
c6d234
-     size_t argz_len;
c6d234
-     const char *entry;
c6d234
+argz_next__ (char *argz, size_t argz_len, const char *entry)
c6d234
 {
c6d234
   if (entry)
c6d234
     {
c6d234
@@ -144,8 +136,7 @@ argz_next__ (argz, argz_len, entry)
c6d234
 static int pop PARAMS ((int x));
c6d234
 
c6d234
 static inline int
c6d234
-pop (x)
c6d234
-     int x;
c6d234
+pop (int x)
c6d234
 {
c6d234
   /* We assume that no more than 16 bits are used.  */
c6d234
   x = ((x & ~0x5555) >> 1) + (x & 0x5555);
c6d234
@@ -159,20 +150,12 @@ pop (x)
c6d234
 
c6d234
 
c6d234
 struct loaded_l10nfile *
c6d234
-_nl_make_l10nflist (l10nfile_list, dirlist, dirlist_len, mask, language,
c6d234
-		    territory, codeset, normalized_codeset, modifier,
c6d234
-		    filename, do_allocate)
c6d234
-     struct loaded_l10nfile **l10nfile_list;
c6d234
-     const char *dirlist;
c6d234
-     size_t dirlist_len;
c6d234
-     int mask;
c6d234
-     const char *language;
c6d234
-     const char *territory;
c6d234
-     const char *codeset;
c6d234
-     const char *normalized_codeset;
c6d234
-     const char *modifier;
c6d234
-     const char *filename;
c6d234
-     int do_allocate;
c6d234
+_nl_make_l10nflist (struct loaded_l10nfile **l10nfile_list,
c6d234
+		    const char *dirlist, size_t dirlist_len,
c6d234
+		    int mask, const char *language,
c6d234
+		    const char *territory, const char *codeset,
c6d234
+		    const char *normalized_codeset, const char *modifier,
c6d234
+		    const char *filename, int do_allocate)
c6d234
 {
c6d234
   char *abs_filename;
c6d234
   struct loaded_l10nfile *last = NULL;
c6d234
@@ -315,9 +298,7 @@ _nl_make_l10nflist (l10nfile_list, dirlist, dirlist_len, mask, language,
c6d234
    names.  The return value is dynamically allocated and has to be
c6d234
    freed by the caller.  */
c6d234
 const char *
c6d234
-_nl_normalize_codeset (codeset, name_len)
c6d234
-     const char *codeset;
c6d234
-     size_t name_len;
c6d234
+_nl_normalize_codeset (const char *codeset, size_t name_len)
c6d234
 {
c6d234
   int len = 0;
c6d234
   int only_digit = 1;
c6d234
@@ -368,9 +349,7 @@ _nl_normalize_codeset (codeset, name_len)
c6d234
    to be defined.  */
c6d234
 #if !_LIBC && !HAVE_STPCPY
c6d234
 static char *
c6d234
-stpcpy (dest, src)
c6d234
-     char *dest;
c6d234
-     const char *src;
c6d234
+stpcpy (char *dest, const char *src)
c6d234
 {
c6d234
   while ((*dest++ = *src++) != '\0')
c6d234
     /* Do nothing. */ ;
c6d234
diff --git a/intl/loadmsgcat.c b/intl/loadmsgcat.c
c6d234
index 243783a9ac4d0929..8ee719d9c3034724 100644
c6d234
--- a/intl/loadmsgcat.c
c6d234
+++ b/intl/loadmsgcat.c
c6d234
@@ -487,8 +487,7 @@ int _nl_msg_cat_cntr;
c6d234
 
c6d234
 /* Expand a system dependent string segment.  Return NULL if unsupported.  */
c6d234
 static const char *
c6d234
-get_sysdep_segment_value (name)
c6d234
-     const char *name;
c6d234
+get_sysdep_segment_value (const char *name)
c6d234
 {
c6d234
   /* Test for an ISO C 99 section 7.8.1 format string directive.
c6d234
      Syntax:
c6d234
@@ -757,9 +756,8 @@ get_sysdep_segment_value (name)
c6d234
    message catalog do nothing.  */
c6d234
 void
c6d234
 internal_function
c6d234
-_nl_load_domain (domain_file, domainbinding)
c6d234
-     struct loaded_l10nfile *domain_file;
c6d234
-     struct binding *domainbinding;
c6d234
+_nl_load_domain (struct loaded_l10nfile *domain_file,
c6d234
+		 struct binding *domainbinding)
c6d234
 {
c6d234
   __libc_lock_define_initialized_recursive (static, lock);
c6d234
   int fd = -1;
c6d234
@@ -1278,8 +1276,7 @@ _nl_load_domain (domain_file, domainbinding)
c6d234
 #ifdef _LIBC
c6d234
 void
c6d234
 internal_function __libc_freeres_fn_section
c6d234
-_nl_unload_domain (domain)
c6d234
-     struct loaded_domain *domain;
c6d234
+_nl_unload_domain (struct loaded_domain *domain)
c6d234
 {
c6d234
   size_t i;
c6d234
 
c6d234
diff --git a/intl/localealias.c b/intl/localealias.c
c6d234
index 2f067dfe2cd7a130..29eef89c9e3d86bc 100644
c6d234
--- a/intl/localealias.c
c6d234
+++ b/intl/localealias.c
c6d234
@@ -137,8 +137,7 @@ static int alias_compare PARAMS ((const struct alias_map *map1,
c6d234
 
c6d234
 
c6d234
 const char *
c6d234
-_nl_expand_alias (name)
c6d234
-    const char *name;
c6d234
+_nl_expand_alias (const char *name)
c6d234
 {
c6d234
   static const char *locale_alias_path = LOCALE_ALIAS_PATH;
c6d234
   struct alias_map *retval;
c6d234
@@ -200,9 +199,7 @@ _nl_expand_alias (name)
c6d234
 
c6d234
 static size_t
c6d234
 internal_function
c6d234
-read_alias_file (fname, fname_len)
c6d234
-     const char *fname;
c6d234
-     int fname_len;
c6d234
+read_alias_file (const char *fname, int fname_len)
c6d234
 {
c6d234
   FILE *fp;
c6d234
   char *full_fname;
c6d234
@@ -381,9 +378,7 @@ extend_alias_table (void)
c6d234
 
c6d234
 
c6d234
 static int
c6d234
-alias_compare (map1, map2)
c6d234
-     const struct alias_map *map1;
c6d234
-     const struct alias_map *map2;
c6d234
+alias_compare (const struct alias_map *map1, const struct alias_map *map2)
c6d234
 {
c6d234
 #if defined _LIBC || defined HAVE_STRCASECMP
c6d234
   return strcasecmp (map1->alias, map2->alias);
c6d234
diff --git a/intl/ngettext.c b/intl/ngettext.c
c6d234
index 109e9da0e5cdc5d4..f3f8e076a1fc55aa 100644
c6d234
--- a/intl/ngettext.c
c6d234
+++ b/intl/ngettext.c
c6d234
@@ -54,10 +54,7 @@
c6d234
    LC_MESSAGES locale.  If not found, returns MSGID itself (the default
c6d234
    text).  */
c6d234
 char *
c6d234
-NGETTEXT (msgid1, msgid2, n)
c6d234
-     const char *msgid1;
c6d234
-     const char *msgid2;
c6d234
-     unsigned long int n;
c6d234
+NGETTEXT (const char *msgid1, const char *msgid2, unsigned long int n)
c6d234
 {
c6d234
   return DCNGETTEXT (NULL, msgid1, msgid2, n, LC_MESSAGES);
c6d234
 }
c6d234
diff --git a/intl/plural-eval.c b/intl/plural-eval.c
c6d234
index e692e379b14100b7..d44eb257e466e852 100644
c6d234
--- a/intl/plural-eval.c
c6d234
+++ b/intl/plural-eval.c
c6d234
@@ -22,9 +22,7 @@ static unsigned long int plural_eval (const struct expression *pexp,
c6d234
 
c6d234
 static unsigned long int
c6d234
 internal_function
c6d234
-plural_eval (pexp, n)
c6d234
-     const struct expression *pexp;
c6d234
-     unsigned long int n;
c6d234
+plural_eval (const struct expression *pexp, unsigned long int n)
c6d234
 {
c6d234
   switch (pexp->nargs)
c6d234
     {
c6d234
diff --git a/intl/plural-exp.c b/intl/plural-exp.c
c6d234
index e157bba4adfca8df..abfbf0a1ef26a76d 100644
c6d234
--- a/intl/plural-exp.c
c6d234
+++ b/intl/plural-exp.c
c6d234
@@ -96,10 +96,9 @@ init_germanic_plural (void)
c6d234
 
c6d234
 void
c6d234
 internal_function
c6d234
-EXTRACT_PLURAL_EXPRESSION (nullentry, pluralp, npluralsp)
c6d234
-     const char *nullentry;
c6d234
-     const struct expression **pluralp;
c6d234
-     unsigned long int *npluralsp;
c6d234
+EXTRACT_PLURAL_EXPRESSION (const char *nullentry,
c6d234
+			   const struct expression **pluralp,
c6d234
+			   unsigned long int *npluralsp)
c6d234
 {
c6d234
   if (nullentry != NULL)
c6d234
     {
c6d234
diff --git a/intl/plural.c b/intl/plural.c
c6d234
index 0d8bf4c6d59ff646..3898ab6aeaadcc2d 100644
c6d234
--- a/intl/plural.c
c6d234
+++ b/intl/plural.c
c6d234
@@ -212,10 +212,7 @@ static void yyerror PARAMS ((const char *str));
c6d234
 /* Allocation of expressions.  */
c6d234
 
c6d234
 static struct expression *
c6d234
-new_exp (nargs, op, args)
c6d234
-     int nargs;
c6d234
-     enum operator op;
c6d234
-     struct expression * const *args;
c6d234
+new_exp (int nargs, enum operator op, struct expression * const *args)
c6d234
 {
c6d234
   int i;
c6d234
   struct expression *newp;
c6d234
@@ -244,16 +241,13 @@ new_exp (nargs, op, args)
c6d234
 }
c6d234
 
c6d234
 static inline struct expression *
c6d234
-new_exp_0 (op)
c6d234
-     enum operator op;
c6d234
+new_exp_0 (enum operator op)
c6d234
 {
c6d234
   return new_exp (0, op, NULL);
c6d234
 }
c6d234
 
c6d234
 static inline struct expression *
c6d234
-new_exp_1 (op, right)
c6d234
-     enum operator op;
c6d234
-     struct expression *right;
c6d234
+new_exp_1 (enum operator op, struct expression *right)
c6d234
 {
c6d234
   struct expression *args[1];
c6d234
 
c6d234
@@ -262,10 +256,7 @@ new_exp_1 (op, right)
c6d234
 }
c6d234
 
c6d234
 static struct expression *
c6d234
-new_exp_2 (op, left, right)
c6d234
-     enum operator op;
c6d234
-     struct expression *left;
c6d234
-     struct expression *right;
c6d234
+new_exp_2 (enum operator op, struct expression *left, struct expression *right)
c6d234
 {
c6d234
   struct expression *args[2];
c6d234
 
c6d234
@@ -275,11 +266,8 @@ new_exp_2 (op, left, right)
c6d234
 }
c6d234
 
c6d234
 static inline struct expression *
c6d234
-new_exp_3 (op, bexp, tbranch, fbranch)
c6d234
-     enum operator op;
c6d234
-     struct expression *bexp;
c6d234
-     struct expression *tbranch;
c6d234
-     struct expression *fbranch;
c6d234
+new_exp_3 (enum operator op, struct expression *bexp,
c6d234
+	   struct expression *tbranch, struct expression *fbranch)
c6d234
 {
c6d234
   struct expression *args[3];
c6d234
 
c6d234
@@ -1874,8 +1862,7 @@ yyreturn:
c6d234
 
c6d234
 void
c6d234
 internal_function
c6d234
-FREE_EXPRESSION (exp)
c6d234
-     struct expression *exp;
c6d234
+FREE_EXPRESSION (struct expression *exp)
c6d234
 {
c6d234
   if (exp == NULL)
c6d234
     return;
c6d234
@@ -1901,9 +1888,7 @@ FREE_EXPRESSION (exp)
c6d234
 
c6d234
 
c6d234
 static int
c6d234
-yylex (lval, pexp)
c6d234
-     YYSTYPE *lval;
c6d234
-     const char **pexp;
c6d234
+yylex (YYSTYPE *lval, const char **pexp)
c6d234
 {
c6d234
   const char *exp = *pexp;
c6d234
   int result;
c6d234
@@ -2046,8 +2031,7 @@ yylex (lval, pexp)
c6d234
 
c6d234
 
c6d234
 static void
c6d234
-yyerror (str)
c6d234
-     const char *str;
c6d234
+yyerror (const char *str)
c6d234
 {
c6d234
   /* Do nothing.  We don't print error messages here.  */
c6d234
 }
c6d234
diff --git a/intl/plural.y b/intl/plural.y
c6d234
index 2df3604dcf7ecfb6..7cfac172bd157b8a 100644
c6d234
--- a/intl/plural.y
c6d234
+++ b/intl/plural.y
c6d234
@@ -72,10 +72,7 @@ static void yyerror PARAMS ((const char *str));
c6d234
 /* Allocation of expressions.  */
c6d234
 
c6d234
 static struct expression *
c6d234
-new_exp (nargs, op, args)
c6d234
-     int nargs;
c6d234
-     enum operator op;
c6d234
-     struct expression * const *args;
c6d234
+new_exp (int nargs, enum operator op, struct expression * const *args)
c6d234
 {
c6d234
   int i;
c6d234
   struct expression *newp;
c6d234
@@ -104,16 +101,13 @@ new_exp (nargs, op, args)
c6d234
 }
c6d234
 
c6d234
 static inline struct expression *
c6d234
-new_exp_0 (op)
c6d234
-     enum operator op;
c6d234
+new_exp_0 (enum operator op)
c6d234
 {
c6d234
   return new_exp (0, op, NULL);
c6d234
 }
c6d234
 
c6d234
 static inline struct expression *
c6d234
-new_exp_1 (op, right)
c6d234
-     enum operator op;
c6d234
-     struct expression *right;
c6d234
+new_exp_1 (enum operator op, struct expression *right)
c6d234
 {
c6d234
   struct expression *args[1];
c6d234
 
c6d234
@@ -122,10 +116,7 @@ new_exp_1 (op, right)
c6d234
 }
c6d234
 
c6d234
 static struct expression *
c6d234
-new_exp_2 (op, left, right)
c6d234
-     enum operator op;
c6d234
-     struct expression *left;
c6d234
-     struct expression *right;
c6d234
+new_exp_2 (enum operator op, struct expression *left, struct expression *right)
c6d234
 {
c6d234
   struct expression *args[2];
c6d234
 
c6d234
@@ -135,11 +126,8 @@ new_exp_2 (op, left, right)
c6d234
 }
c6d234
 
c6d234
 static inline struct expression *
c6d234
-new_exp_3 (op, bexp, tbranch, fbranch)
c6d234
-     enum operator op;
c6d234
-     struct expression *bexp;
c6d234
-     struct expression *tbranch;
c6d234
-     struct expression *fbranch;
c6d234
+new_exp_3 (enum operator op, struct expression *bexp,
c6d234
+	   struct expression *tbranch, struct expression *fbranch)
c6d234
 {
c6d234
   struct expression *args[3];
c6d234
 
c6d234
@@ -230,8 +218,7 @@ exp:	  exp '?' exp ':' exp
c6d234
 
c6d234
 void
c6d234
 internal_function
c6d234
-FREE_EXPRESSION (exp)
c6d234
-     struct expression *exp;
c6d234
+FREE_EXPRESSION (struct expression *exp)
c6d234
 {
c6d234
   if (exp == NULL)
c6d234
     return;
c6d234
@@ -257,9 +244,7 @@ FREE_EXPRESSION (exp)
c6d234
 
c6d234
 
c6d234
 static int
c6d234
-yylex (lval, pexp)
c6d234
-     YYSTYPE *lval;
c6d234
-     const char **pexp;
c6d234
+yylex (YYSTYPE *lval, const char **pexp)
c6d234
 {
c6d234
   const char *exp = *pexp;
c6d234
   int result;
c6d234
@@ -402,8 +387,7 @@ yylex (lval, pexp)
c6d234
 
c6d234
 
c6d234
 static void
c6d234
-yyerror (str)
c6d234
-     const char *str;
c6d234
+yyerror (const char *str)
c6d234
 {
c6d234
   /* Do nothing.  We don't print error messages here.  */
c6d234
 }
c6d234
diff --git a/intl/textdomain.c b/intl/textdomain.c
c6d234
index 35fb2e4c9951fe74..7d1029fa02ffdb34 100644
c6d234
--- a/intl/textdomain.c
c6d234
+++ b/intl/textdomain.c
c6d234
@@ -77,8 +77,7 @@ __libc_rwlock_define (extern, _nl_state_lock attribute_hidden)
c6d234
    If DOMAINNAME is null, return the current default.
c6d234
    If DOMAINNAME is "", reset to the default of "messages".  */
c6d234
 char *
c6d234
-TEXTDOMAIN (domainname)
c6d234
-     const char *domainname;
c6d234
+TEXTDOMAIN (const char *domainname)
c6d234
 {
c6d234
   char *new_domain;
c6d234
   char *old_domain;