]> pd.if.org Git - pdclib/blobdiff - functions/string/strcat.c
Some filename cleanup in functions/_PDCLIB.
[pdclib] / functions / string / strcat.c
index d9609157ffc77f048a63eb07054630589210c3a0..18fd4090e4eef56f42653898bb2b695f187bc922 100644 (file)
@@ -1,14 +1,9 @@
-/* $Id$ */
-
-/* Release $Name$ */
-
 /* strcat( char *, const char * )
 
    This file is part of the Public Domain C Library (PDCLib).
    Permission is granted to use, modify, and / or redistribute at will.
 */
 
-#include <_PDCLIB_aux.h>
 #include <string.h>
 
 #ifndef REGTEST
@@ -27,12 +22,12 @@ char * strcat( char * _PDCLIB_restrict s1, const char * _PDCLIB_restrict s2 )
 #endif
 
 #ifdef TEST
-#include <_PDCLIB_test.h>
 
-int main()
+#include "_PDCLIB_test.h"
+
+int main( void )
 {
     char s[] = "xx\0xxxxxx";
-    BEGIN_TESTS;
     TESTCASE( strcat( s, abcde ) == s );
     TESTCASE( s[2] == 'a' );
     TESTCASE( s[6] == 'e' );
@@ -47,4 +42,5 @@ int main()
     TESTCASE( s[6] == 'e' );
     return TEST_RESULTS;
 }
+
 #endif