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