]> pd.if.org Git - pdclib/blobdiff - functions/string/strchr.c
Added dummy test drivers to each *.c file, and target 'test' to Makefile.
[pdclib] / functions / string / strchr.c
index a575f6deea1b15e44b65ef94826a1f1ddc607b29..ec296cbce33cab48ae8b9aeaa6fed4500710c83b 100644 (file)
@@ -23,3 +23,10 @@ char * strchr( const char * s, int c )
 }
 
 #warning Test driver missing.
+
+#ifdef TEST
+int main()
+{
+    return 0;
+}
+#endif