Blame SOURCES/glibc-rh1505492-prototypes-intl.patch

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