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
/
strncmp.c
diff --git
a/functions/string/strncmp.c
b/functions/string/strncmp.c
index 624cdbcb190d6013a727dc56bed29b3cb023e143..7f398fa9b2b9be4bce4763afabf4bf737e4bf2d2 100644
(file)
--- a/
functions/string/strncmp.c
+++ b/
functions/string/strncmp.c
@@
-29,3
+29,10
@@
int strncmp( const char * s1, const char * s2, size_t n )
}
#warning Test driver missing.
+
+#ifdef TEST
+int main()
+{
+ return 0;
+}
+#endif