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