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