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
/
strncat.c
diff --git
a/functions/string/strncat.c
b/functions/string/strncat.c
index f05a9ec7239cf19cf53c14c5ef1a78e0c5d028b3..eb059b28339e46119f1b4b9fd9ed1552d90b0307 100644
(file)
--- a/
functions/string/strncat.c
+++ b/
functions/string/strncat.c
@@
-35,10
+35,9
@@
char * strncat( char * _PDCLIB_restrict s1, const char * _PDCLIB_restrict s2, si
#ifdef TEST
#include <_PDCLIB_test.h>
-int main()
+int main(
void
)
{
char s[] = "xx\0xxxxxx";
- BEGIN_TESTS;
TESTCASE( strncat( s, abcde, 10 ) == s );
TESTCASE( s[2] == 'a' );
TESTCASE( s[6] == 'e' );