]> 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 4194a854bb0ac5ab1f5ac3f6f81f76857be290ae..1e8ff7073c46c911dc408257a402a2190644e7b6 100644 (file)
@@ -23,3 +23,12 @@ void * memchr( const void * s, int c, size_t n )
     }
     return NULL;
 }
+
+#warning Test driver missing.
+
+#ifdef TEST
+int main()
+{
+    return 0;
+}
+#endif