]> pd.if.org Git - pdclib/blobdiff - functions/string/strcat.c
Added dummy test drivers to each *.c file, and target 'test' to Makefile.
[pdclib] / functions / string / strcat.c
index 422565d15c388d2583957bfbc4c1ae43d5cc2174..a4eab143b3352907df5f21e6877d9b1dcc083dee 100644 (file)
@@ -20,3 +20,12 @@ char * strcat( char * _PDCLIB_restrict s1, const char * _PDCLIB_restrict s2 )
     while ( (*s1++ = *s2++) );
     return rc;
 }
+
+#warning Test driver missing.
+
+#ifdef TEST
+int main()
+{
+    return 0;
+}
+#endif