]> pd.if.org Git - pdclib/blobdiff - functions/string/strxfrm.c
Added dummy test drivers to each *.c file, and target 'test' to Makefile.
[pdclib] / functions / string / strxfrm.c
index 578eb4ba7a5c536b3c129bc434391c0024cbcee9..af98c184071c2c8eadbef99151f94f6eacbafc8f 100644 (file)
@@ -8,6 +8,7 @@
    Permission is granted to use, modify, and / or redistribute at will.
 */
 
+#include <_PDCLIB_aux.h>
 #include <string.h>
 
 /* TODO: Dummy function, no locale support yet. */
@@ -26,3 +27,10 @@ size_t strxfrm( char * _PDCLIB_restrict s1, const char * _PDCLIB_restrict s2, si
 }
 
 #warning Test driver missing.
+
+#ifdef TEST
+int main()
+{
+    return 0;
+}
+#endif