diff options
Diffstat (limited to 'newlib/libc/include/sys/reent.h')
-rw-r--r-- | newlib/libc/include/sys/reent.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/newlib/libc/include/sys/reent.h b/newlib/libc/include/sys/reent.h index 8a0fb7f12..7aae3f47b 100644 --- a/newlib/libc/include/sys/reent.h +++ b/newlib/libc/include/sys/reent.h @@ -111,8 +111,9 @@ struct __sFILE { /* operations */ _PTR _cookie; /* cookie passed to io functions */ - int _EXFUN((*_read),(_PTR _cookie, char *_buf, int _n)); - int _EXFUN((*_write),(_PTR _cookie, const char *_buf, int _n)); + _READ_WRITE_RETURN_TYPE _EXFUN((*_read),(_PTR _cookie, char *_buf, int _n)); + _READ_WRITE_RETURN_TYPE _EXFUN((*_write),(_PTR _cookie, const char *_buf, + int _n)); _fpos_t _EXFUN((*_seek),(_PTR _cookie, _fpos_t _offset, int _whence)); int _EXFUN((*_close),(_PTR _cookie)); |