]> pd.if.org Git - pdclib/blobdiff - functions/string/strcoll.c
Reviewed.
[pdclib] / functions / string / strcoll.c
index 80ecbdff24d4977add1e4a88d85d1f51fb42757a..c89b8cfd3bdc88bc1829ad014a5b39a372d3a492 100644 (file)
@@ -5,10 +5,11 @@
 // This code is Public Domain. Use, modify, and redistribute at will.
 // ----------------------------------------------------------------------------
 
-int strcoll( const char * s1, const char * s2 ) { /* TODO */ };
+// TODO: Dummy function, does not support locales.
 
-/* PDPC code - unreviewed
+int strcmp( const char * src_1, const char * src_2 );
+
+int strcoll( const char * src_1, const char * src_2 )
 {
-    return (strcmp(s1, s2));
+    return strcmp( src_1, src_2 );
 }
-*/