]> 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 785b1cd4088d9098e681d0a50e6f263bf2509b59..e921dd9ec04cd3962541b9723b0815ad0d6e3878 100644 (file)
@@ -8,6 +8,7 @@
    Permission is granted to use, modify, and / or redistribute at will.
 */
 
+#include <_PDCLIB_aux.h>
 #include <string.h>
 
 void * memcpy( void * _PDCLIB_restrict s1, const void * _PDCLIB_restrict s2, size_t n )
@@ -22,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