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
/
strrchr.c
diff --git
a/functions/string/strrchr.c
b/functions/string/strrchr.c
index 77b633fffc6968ac6e8286d1c1f5aa8fd684a377..4fe9a6b49acd8c00597b5da7bbd567985880883e 100644
(file)
--- a/
functions/string/strrchr.c
+++ b/
functions/string/strrchr.c
@@
-25,3
+25,10
@@
char * strrchr( const char * s, int c )
}
#warning Test driver missing.
+
+#ifdef TEST
+int main()
+{
+ return 0;
+}
+#endif