about summary refs log tree commit diff
path: root/string/strcasecmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'string/strcasecmp.c')
-rw-r--r--string/strcasecmp.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/string/strcasecmp.c b/string/strcasecmp.c
index 6b14912a8b..97c912ef53 100644
--- a/string/strcasecmp.c
+++ b/string/strcasecmp.c
@@ -34,21 +34,16 @@
 #endif
 
 #ifdef USE_IN_EXTENDED_LOCALE_MODEL
-# define LOCALE_PARAM , loc
-# define LOCALE_PARAM_DECL __locale_t loc;
+# define LOCALE_PARAM , __locale_t loc
 #else
 # define LOCALE_PARAM
-# define LOCALE_PARAM_DECL
 #endif
 
 /* Compare S1 and S2, ignoring case, returning less than, equal to or
    greater than zero if S1 is lexicographically less than,
    equal to or greater than S2.  */
 int
-__strcasecmp (s1, s2 LOCALE_PARAM)
-     const char *s1;
-     const char *s2;
-     LOCALE_PARAM_DECL
+__strcasecmp (const char *s1, const char *s2 LOCALE_PARAM)
 {
 #if defined _LIBC && !defined USE_IN_EXTENDED_LOCALE_MODEL
   __locale_t loc = _NL_CURRENT_LOCALE;