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