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