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
/
fillbuffer.c
diff --git
a/platform/altos/functions/_PDCLIB/fillbuffer.c
b/platform/altos/functions/_PDCLIB/fillbuffer.c
index cf55c58123e1d038e3939c3f637281144582f1a6..6e592fd51e225e16f62a5774f0f59964df3ceada 100644
(file)
--- a/
platform/altos/functions/_PDCLIB/fillbuffer.c
+++ b/
platform/altos/functions/_PDCLIB/fillbuffer.c
@@
-15,13
+15,11
@@
#ifndef REGTEST
#include <_PDCLIB_glue.h>
#ifndef REGTEST
#include <_PDCLIB_glue.h>
+extern int PDCLIB_NO_ACTUAL_STDIO();
+
int _PDCLIB_fillbuffer( struct _PDCLIB_file_t * stream )
{
int _PDCLIB_fillbuffer( struct _PDCLIB_file_t * stream )
{
- stream->buffer[0] = inbyte();
- stream->pos.offset += 1;
- stream->bufend = 1;
- stream->bufidx = 0;
- return 0;
+ return PDCLIB_NO_ACTUAL_STDIO();
}
#endif
}
#endif