]> pd.if.org Git - pdclib/blobdiff - functions/string/strncmp.c
More fixes.
[pdclib] / functions / string / strncmp.c
index 55262c49a067472cd6abe4b1ad42cd5cbe2115ec..2965b0d37bd029724f461ec2641f848b57fe1bda 100644 (file)
@@ -16,7 +16,7 @@ int strncmp( const char * s1, const char * s2, size_t n )
         ++s2;
         --n;
     }
-    if ( ( n == 0 ) )
+    if ( n == 0 )
     {
         return 0;
     }
@@ -29,7 +29,8 @@ int strncmp( const char * s1, const char * s2, size_t n )
 #endif
 
 #ifdef TEST
-#include <_PDCLIB_test.h>
+
+#include "_PDCLIB_test.h"
 
 int main( void )
 {
@@ -49,4 +50,5 @@ int main( void )
     TESTCASE( strncmp( abcde, cmpabcd_, 10 ) < 0 );
     return TEST_RESULTS;
 }
+
 #endif