diff options
author | 2003-06-11 21:08:29 +0000 | |
---|---|---|
committer | 2003-06-11 21:08:29 +0000 | |
commit | ca0998b1bc714e83faa35ddbfcf9ce2bed342ad5 (patch) | |
tree | 1e6dc576ce5b4ba82a2ad5bb8312cf0b85467d52 /lib/libc/string/strcoll.c | |
parent | ansification; pval ok (diff) | |
download | wireguard-openbsd-ca0998b1bc714e83faa35ddbfcf9ce2bed342ad5.tar.xz wireguard-openbsd-ca0998b1bc714e83faa35ddbfcf9ce2bed342ad5.zip |
ansification, pval ok
Diffstat (limited to 'lib/libc/string/strcoll.c')
-rw-r--r-- | lib/libc/string/strcoll.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/libc/string/strcoll.c b/lib/libc/string/strcoll.c index d024f724448..9622b67281f 100644 --- a/lib/libc/string/strcoll.c +++ b/lib/libc/string/strcoll.c @@ -31,7 +31,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char *rcsid = "$OpenBSD: strcoll.c,v 1.3 2003/06/02 20:18:38 millert Exp $"; +static char *rcsid = "$OpenBSD: strcoll.c,v 1.4 2003/06/11 21:08:29 deraadt Exp $"; #endif /* LIBC_SCCS and not lint */ #include <string.h> @@ -40,8 +40,7 @@ static char *rcsid = "$OpenBSD: strcoll.c,v 1.3 2003/06/02 20:18:38 millert Exp * Compare strings according to LC_COLLATE category of current locale. */ int -strcoll(s1, s2) - const char *s1, *s2; +strcoll(const char *s1, const char *s2) { /* LC_COLLATE is unimplemented, hence always "C" */ return (strcmp(s1, s2)); |