projects
/
fw
/
pdclib
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Stub out most of stdio on AltOS
[fw/pdclib]
/
platform
/
altos
/
functions
/
_PDCLIB
/
flushbuffer.c
diff --git
a/platform/altos/functions/_PDCLIB/flushbuffer.c
b/platform/altos/functions/_PDCLIB/flushbuffer.c
index 2c54ce0d941506d23d565a96b46545d1f638103b..88a9db01b59dc499ea6b9ff36f4dd56d465fadce 100644
(file)
--- a/
platform/altos/functions/_PDCLIB/flushbuffer.c
+++ b/
platform/altos/functions/_PDCLIB/flushbuffer.c
@@
-29,11
+29,7
@@
extern void outbyte(char c);
int _PDCLIB_flushbuffer( struct _PDCLIB_file_t * stream )
{
- char *c = stream->buffer;
- int i = stream->bufidx;
- while (i--)
- outbyte(*c++);
- return 0;
+ return PDCLIB_NO_ACTUAL_STDIO();
}
#endif