extmod/vfs_fat_lexer: Add func prototype for pedantic warnings.

This commit is contained in:
Paul Sokolovsky 2016-03-03 14:53:36 +02:00
parent 3aa0f2eed3
commit 65405247a0

View File

@ -61,6 +61,8 @@ STATIC void file_buf_close(mp_lexer_file_buf_t *fb) {
m_del_obj(mp_lexer_file_buf_t, fb);
}
mp_lexer_t *fat_vfs_lexer_new_from_file(const char *filename);
mp_lexer_t *fat_vfs_lexer_new_from_file(const char *filename) {
mp_lexer_file_buf_t *fb = m_new_obj_maybe(mp_lexer_file_buf_t);
if (fb == NULL) {