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