]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - wcsmbs/wcsncase.c
Update copyright dates with scripts/update-copyrights.
[thirdparty/glibc.git] / wcsmbs / wcsncase.c
index 25507d80d7499cc4b8102e640a01877b2717033a..3935de8ec06171604e1c7630aca185c3ea65904b 100644 (file)
@@ -1,6 +1,6 @@
 /* Compare at most N wide characters of two strings without taking care
    for the case.
-   Copyright (C) 1992-2015 Free Software Foundation, Inc.
+   Copyright (C) 1992-2019 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
 #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 no more than N wide characters of S1 and S2,
    greater than zero if S1 is lexicographically less
    than, equal to or greater than S2.  */
 int
-__wcsncasecmp (s1, s2, n LOCALE_PARAM)
-     const wchar_t *s1;
-     const wchar_t *s2;
-     size_t n;
-     LOCALE_PARAM_DECL
+__wcsncasecmp (const wchar_t *s1, const wchar_t *s2, size_t n LOCALE_PARAM)
 {
   wint_t c1, c2;