projects
/
fw
/
pdclib
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added dummy test drivers to each *.c file, and target 'test' to Makefile.
[fw/pdclib]
/
functions
/
string
/
strcat.c
diff --git
a/functions/string/strcat.c
b/functions/string/strcat.c
index f6a7d15f2246c456ef534a4d7850f3a8e62fd534..a4eab143b3352907df5f21e6877d9b1dcc083dee 100644
(file)
--- a/
functions/string/strcat.c
+++ b/
functions/string/strcat.c
@@
-22,3
+22,10
@@
char * strcat( char * _PDCLIB_restrict s1, const char * _PDCLIB_restrict s2 )
}
#warning Test driver missing.
+
+#ifdef TEST
+int main()
+{
+ return 0;
+}
+#endif