summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxhdrs/strings/strncasecmp_l.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel@rtems.org>2018-12-05 15:23:40 -0600
committerJoel Sherrill <joel@rtems.org>2018-12-05 15:23:40 -0600
commit70966985cb8e8f4caf9e2b0adf6e3f327974b976 (patch)
tree11e0c3ad05b3598ce3144d677c0bce085e3f9ed4 /testsuites/psxtests/psxhdrs/strings/strncasecmp_l.c
parentpsxhdrs: added POSIX API Signature Compliance Tests for stdio.h File (GCI 2018) (diff)
downloadrtems-70966985cb8e8f4caf9e2b0adf6e3f327974b976.tar.bz2
psxhdrs/strings/strncasecmp_l.c: Fix warning
Diffstat (limited to '')
-rw-r--r--testsuites/psxtests/psxhdrs/strings/strncasecmp_l.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/testsuites/psxtests/psxhdrs/strings/strncasecmp_l.c b/testsuites/psxtests/psxhdrs/strings/strncasecmp_l.c
index 9b0792fda5..19d9629661 100644
--- a/testsuites/psxtests/psxhdrs/strings/strncasecmp_l.c
+++ b/testsuites/psxtests/psxhdrs/strings/strncasecmp_l.c
@@ -2,6 +2,7 @@
* @file
* @brief strcasecmp_l() API Conformance Test
*/
+
/*
* COPYRIGHT (c) 2018.
* Himanshu Sekhar Nayak
@@ -31,9 +32,10 @@
{
char *string1 = "STRING";
char *string2 = "string";
+ locale_t locale = NULL;
int result;
- result = strncasecmp_l( string1, string2, 6, LC_CTYPE );
+ result = strncasecmp_l( string1, string2, 6, locale );
return result;
}