summaryrefslogtreecommitdiff
path: root/src/lib/libc/string/strcoll.c
diff options
context:
space:
mode:
authorderaadt <>2003-06-11 21:08:29 +0000
committerderaadt <>2003-06-11 21:08:29 +0000
commit9a5e83348f89c3495c3483afb234c04d58b1e58e (patch)
treeebbd0bacb3fa3a05d089ac224b8e725131844537 /src/lib/libc/string/strcoll.c
parent05ebc6b11cf74e0e9e901f2e1c26d0d682c57842 (diff)
downloadopenbsd-9a5e83348f89c3495c3483afb234c04d58b1e58e.tar.gz
openbsd-9a5e83348f89c3495c3483afb234c04d58b1e58e.tar.bz2
openbsd-9a5e83348f89c3495c3483afb234c04d58b1e58e.zip
ansification, pval ok
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));