]> pd.if.org Git - pdclib.old/blobdiff - functions/string/strstr.c
Added test driver; fixed sign bug.
[pdclib.old] / functions / string / strstr.c
index fc5950db4e0e05c2630285d39fca1dd90a4dae7f..0566d5d71c2d8b15c9cd29dea665bcd8f74c0a50 100644 (file)
@@ -31,3 +31,12 @@ char * strstr( const char * s1, const char * s2 )
     }
     return NULL;
 }
+
+#warning Test driver missing.
+
+#ifdef TEST
+int main()
+{
+    return 0;
+}
+#endif