summaryrefslogtreecommitdiffstats
path: root/lib/libc/string/strcoll.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2003-06-11 21:08:29 +0000
committerderaadt <deraadt@openbsd.org>2003-06-11 21:08:29 +0000
commitca0998b1bc714e83faa35ddbfcf9ce2bed342ad5 (patch)
tree1e6dc576ce5b4ba82a2ad5bb8312cf0b85467d52 /lib/libc/string/strcoll.c
parentansification; pval ok (diff)
downloadwireguard-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.c5
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));