fts_load no longer has any return value
[unix-history] / usr / src / lib / libc / string / strcoll.c
CommitLineData
e81d4527
KB
1/*-
2 * Copyright (c) 1990 The Regents of the University of California.
3 * All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * Chris Torek.
7 *
8 * %sccs.include.redist.c%
9 */
10
11#if defined(LIBC_SCCS) && !defined(lint)
a64329b4 12static char sccsid[] = "@(#)strcoll.c 5.2 (Berkeley) %G%";
e81d4527
KB
13#endif /* LIBC_SCCS and not lint */
14
a64329b4 15#include <sys/cdefs.h>
e81d4527 16#include <string.h>
e81d4527
KB
17
18/*
19 * Compare strings according to LC_COLLATE category of current locale.
20 */
21strcoll(s1, s2)
22 const char *s1, *s2;
23{
24 /* LC_COLLATE is unimplemented, hence always "C" */
25 return (strcmp(s1, s2));
26}