31
31
#define background_callback_add (buf , fn , arg ) ((fn)((arg)))
32
32
#endif
33
33
34
- STATIC bool stream_readable (void * stream ) {
34
+ static bool stream_readable (void * stream ) {
35
35
int errcode = 0 ;
36
36
mp_obj_base_t * o = MP_OBJ_TO_PTR (stream );
37
37
const mp_stream_p_t * stream_p = MP_OBJ_TYPE_GET_SLOT (o -> type , protocol );
@@ -48,7 +48,7 @@ STATIC bool stream_readable(void *stream) {
48
48
49
49
// (near copy of mp_stream_posix_read, but with changes)
50
50
// (circuitpy doesn't enable posix stream routines anyway)
51
- STATIC ssize_t stream_read (void * stream , void * buf , size_t len ) {
51
+ static ssize_t stream_read (void * stream , void * buf , size_t len ) {
52
52
int errcode ;
53
53
mp_obj_base_t * o = MP_OBJ_TO_PTR (stream );
54
54
const mp_stream_p_t * stream_p = MP_OBJ_TYPE_GET_SLOT (o -> type , protocol );
@@ -71,7 +71,7 @@ STATIC ssize_t stream_read(void *stream, void *buf, size_t len) {
71
71
72
72
// (near copy of mp_stream_posix_lseek, but with changes)
73
73
// (circuitpy doesn't enable posix stream routines anyway)
74
- STATIC off_t stream_lseek (void * stream , off_t offset , int whence ) {
74
+ static off_t stream_lseek (void * stream , off_t offset , int whence ) {
75
75
int errcode ;
76
76
const mp_obj_base_t * o = stream ;
77
77
const mp_stream_p_t * stream_p = MP_OBJ_TYPE_GET_SLOT (o -> type , protocol );
0 commit comments