]> pd.if.org Git - pdclib/blobdiff - functions/string/memchr.c
Added dummy test drivers to each *.c file, and target 'test' to Makefile.
[pdclib] / functions / string / memchr.c
index 9aef229e69f040f5b74b150c3987f633ba692a13..1e8ff7073c46c911dc408257a402a2190644e7b6 100644 (file)
@@ -25,3 +25,10 @@ void * memchr( const void * s, int c, size_t n )
 }
 
 #warning Test driver missing.
+
+#ifdef TEST
+int main()
+{
+    return 0;
+}
+#endif