]> 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 c8a104ea40fb2953917bf5221252d57022fc62df..308fe362fcfdf47f59233348a64140a12010e00d 100644 (file)
@@ -28,3 +28,12 @@ size_t strcspn( const char * s1, const char * s2 )
     }
     return len;
 }
+
+#warning Test driver missing.
+
+#ifdef TEST
+int main()
+{
+    return 0;
+}
+#endif