]> pd.if.org Git - pdclib/blobdiff - functions/string/strncmp.c
Added dummy test drivers to each *.c file, and target 'test' to Makefile.
[pdclib] / functions / string / strncmp.c
index f64984ebc1b9ec4f5fc3a2e396560029124e6b89..7f398fa9b2b9be4bce4763afabf4bf737e4bf2d2 100644 (file)
@@ -27,3 +27,12 @@ int strncmp( const char * s1, const char * s2, size_t n )
         return ( *s1 - *s2 );
     }
 }
+
+#warning Test driver missing.
+
+#ifdef TEST
+int main()
+{
+    return 0;
+}
+#endif