Skip to content

Commit dffc55e

Browse files
committed
MP3Decoder: STATIC -> static
1 parent 9bc89f5 commit dffc55e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

shared-module/audiomp3/MP3Decoder.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
#define background_callback_add(buf, fn, arg) ((fn)((arg)))
3232
#endif
3333

34-
STATIC bool stream_readable(void *stream) {
34+
static bool stream_readable(void *stream) {
3535
int errcode = 0;
3636
mp_obj_base_t *o = MP_OBJ_TO_PTR(stream);
3737
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) {
4848

4949
// (near copy of mp_stream_posix_read, but with changes)
5050
// (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) {
5252
int errcode;
5353
mp_obj_base_t *o = MP_OBJ_TO_PTR(stream);
5454
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) {
7171

7272
// (near copy of mp_stream_posix_lseek, but with changes)
7373
// (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) {
7575
int errcode;
7676
const mp_obj_base_t *o = stream;
7777
const mp_stream_p_t *stream_p = MP_OBJ_TYPE_GET_SLOT(o->type, protocol);

0 commit comments

Comments
 (0)