Skip to content

Commit c9b586a

Browse files
author
龙虾机器人
committed
fix(vfs): add dummy function to satisfy C89 -pedantic when VFS is disabled
1 parent e794b9c commit c9b586a

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

menu/menu_vfs_browser.c

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -407,3 +407,11 @@ enum vfs_scheme menu_vfs_browser_get_scheme(void)
407407
return g_vfs_browser.scheme;
408408
}
409409
#endif /* HAVE_VFS && !WIIU && !WEBOS */
410+
411+
/* Dummy function to satisfy C89 -pedantic when VFS is disabled */
412+
#if !defined(HAVE_VFS) || defined(__wiiu__) || defined(__WEBOS__)
413+
void menu_vfs_browser_dummy(void)
414+
{
415+
/* Intentionally empty */
416+
}
417+
#endif

0 commit comments

Comments
 (0)