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]
/
platform
/
example
/
functions
/
stdlib
/
getenv.c
diff --git
a/platform/example/functions/stdlib/getenv.c
b/platform/example/functions/stdlib/getenv.c
index aa2817aef661981236cd2a49d895e9d633e2f0c7..3bad450a73a976af2a67da6efa835396942253d8 100644
(file)
--- a/
platform/example/functions/stdlib/getenv.c
+++ b/
platform/example/functions/stdlib/getenv.c
@@
-38,9
+38,8
@@
char * getenv( const char * name )
#ifdef TEST
#include <_PDCLIB_test.h>
-int main()
+int main(
void
)
{
- BEGIN_TESTS;
TESTCASE( strcmp( getenv( "SHELL" ), "/bin/sh" ) == 0 );
return TEST_RESULTS;
}