update for HEAD-2003021201
[reactos.git] / lib / msvcrt / string / strcoll.c
index 30b4b4c..81e27d6 100644 (file)
@@ -6,34 +6,25 @@
    less than, equal to or greater than the collated form of S2.  */
 
 #if 1
-int strcoll (const char* s1, const char* s2)
+int strcoll(const char* s1, const char* s2)
 {
-       return strcmp(s1,s2);
+    return strcmp(s1, s2);
 }
 
-int _stricoll (const char* s1, const char* s2)
+int _stricoll(const char* s1, const char* s2)
 {
-       return _stricmp(s1,s2);
+    return _stricmp(s1, s2);
 }
 
-int _strncoll (const char *s1, const char *s2, size_t c)
-{
-       return strncmp(s1,s2,c);
-}
-
-int _strnicoll (const char *s1, const char *s2, size_t c)
-{
-       return _strnicmp(s1,s2,c);
-}
 #else
-int strcoll (const char *s1,const char *s2)
+int strcoll (const char* s1,const char* s2)
 {
-   int ret;
-   ret = CompareStringA(LOCALE_USER_DEFAULT,0,s1,strlen(s1),s2,strlen(s2));
-   if (ret == 0)
-     return 0;
-   else 
-     return ret - 2;
-   return 0;
+    int ret;
+    ret = CompareStringA(LOCALE_USER_DEFAULT,0,s1,strlen(s1),s2,strlen(s2));
+    if (ret == 0)
+        return 0;
+    else 
+        return ret - 2;
+    return 0;
 }
 #endif