]> 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 624cdbcb190d6013a727dc56bed29b3cb023e143..7f398fa9b2b9be4bce4763afabf4bf737e4bf2d2 100644 (file)
@@ -29,3 +29,10 @@ int strncmp( const char * s1, const char * s2, size_t n )
 }
 
 #warning Test driver missing.
+
+#ifdef TEST
+int main()
+{
+    return 0;
+}
+#endif