summaryrefslogtreecommitdiff
path: root/src/lib/libc/string/strcoll.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libc/string/strcoll.c')
-rw-r--r--src/lib/libc/string/strcoll.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/lib/libc/string/strcoll.c b/src/lib/libc/string/strcoll.c
index d024f72444..9622b67281 100644
--- a/src/lib/libc/string/strcoll.c
+++ b/src/lib/libc/string/strcoll.c
@@ -31,7 +31,7 @@
31 */ 31 */
32 32
33#if defined(LIBC_SCCS) && !defined(lint) 33#if defined(LIBC_SCCS) && !defined(lint)
34static char *rcsid = "$OpenBSD: strcoll.c,v 1.3 2003/06/02 20:18:38 millert Exp $"; 34static char *rcsid = "$OpenBSD: strcoll.c,v 1.4 2003/06/11 21:08:29 deraadt Exp $";
35#endif /* LIBC_SCCS and not lint */ 35#endif /* LIBC_SCCS and not lint */
36 36
37#include <string.h> 37#include <string.h>
@@ -40,8 +40,7 @@ static char *rcsid = "$OpenBSD: strcoll.c,v 1.3 2003/06/02 20:18:38 millert Exp
40 * Compare strings according to LC_COLLATE category of current locale. 40 * Compare strings according to LC_COLLATE category of current locale.
41 */ 41 */
42int 42int
43strcoll(s1, s2) 43strcoll(const char *s1, const char *s2)
44 const char *s1, *s2;
45{ 44{
46 /* LC_COLLATE is unimplemented, hence always "C" */ 45 /* LC_COLLATE is unimplemented, hence always "C" */
47 return (strcmp(s1, s2)); 46 return (strcmp(s1, s2));