projects
/
fw
/
pdclib
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Porting current working set from CVS.
[fw/pdclib]
/
functions
/
string
/
strcat.c
diff --git
a/functions/string/strcat.c
b/functions/string/strcat.c
index e76b7db6fb34ee2033faba74e936058ffcfeb79f..7d1f6622d359d33fc6f37e7ea8c4e22fd92161c6 100644
(file)
--- a/
functions/string/strcat.c
+++ b/
functions/string/strcat.c
@@
-28,10
+28,9
@@
char * strcat( char * _PDCLIB_restrict s1, const char * _PDCLIB_restrict s2 )
#ifdef TEST
#include <_PDCLIB_test.h>
-int main()
+int main(
void
)
{
char s[] = "xx\0xxxxxx";
- BEGIN_TESTS;
TESTCASE( strcat( s, abcde ) == s );
TESTCASE( s[2] == 'a' );
TESTCASE( s[6] == 'e' );