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
/
strxfrm.c
diff --git
a/functions/string/strxfrm.c
b/functions/string/strxfrm.c
index 5849a0cb80ea52a44883c0ed1d7837125f97340a..af98c184071c2c8eadbef99151f94f6eacbafc8f 100644
(file)
--- a/
functions/string/strxfrm.c
+++ b/
functions/string/strxfrm.c
@@
-27,3
+27,10
@@
size_t strxfrm( char * _PDCLIB_restrict s1, const char * _PDCLIB_restrict s2, si
}
#warning Test driver missing.
+
+#ifdef TEST
+int main()
+{
+ return 0;
+}
+#endif