]> 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 ff9e389e97b5542fe1e7cfea9512bb157582ae94..d9f9fe350031d0d8f768b80024e30cf188c8cb45 100644 (file)
@@ -8,6 +8,7 @@
    Permission is granted to use, modify, and / or redistribute at will.
 */
 
+#include <_PDCLIB_aux.h>
 #include <string.h>
 
 char * strncat( char * _PDCLIB_restrict s1, const char * _PDCLIB_restrict s2, size_t n )
@@ -27,3 +28,12 @@ char * strncat( char * _PDCLIB_restrict s1, const char * _PDCLIB_restrict s2, si
     }
     return rc;
 }
+
+#warning Test driver missing.
+
+#ifdef TEST
+int main()
+{
+    return 0;
+}
+#endif