]> 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 ced1d552154e5a49eab4582fc8edd2ef08e2f601..ec296cbce33cab48ae8b9aeaa6fed4500710c83b 100644 (file)
@@ -21,3 +21,12 @@ char * strchr( const char * s, int c )
     } while ( *s++ );
     return NULL;
 }
+
+#warning Test driver missing.
+
+#ifdef TEST
+int main()
+{
+    return 0;
+}
+#endif