projects
/
fw
/
pdclib
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Reworked scanf() testing. General cleanups.
[fw/pdclib]
/
platform
/
example
/
functions
/
stdio
/
tmpfile.c
diff --git
a/platform/example/functions/stdio/tmpfile.c
b/platform/example/functions/stdio/tmpfile.c
index b2c099b0c580d6b6d8cf552ad23349e0aceb1f85..b778f3f9dabe374c63a54b551b4e2bbf38d61669 100644
(file)
--- a/
platform/example/functions/stdio/tmpfile.c
+++ b/
platform/example/functions/stdio/tmpfile.c
@@
-94,8
+94,10
@@
struct _PDCLIB_file_t * tmpfile( void )
int main()
{
FILE * fh;
+#ifndef REGTEST
char filename[ L_tmpnam ];
FILE * fhtest;
+#endif
TESTCASE( ( fh = tmpfile() ) != NULL );
TESTCASE( fputc( 'x', fh ) == 'x' );
/* Checking that file is actually there */