filesys_unix.c is not used anywhere, nor is its only function. This file might be a candidate for removal.
Added missing include and re-enabled two prototypes.
removed prototype of zfile_stat_archive(), it is prototype'd in zfile.h already.
Removed definitions of struct my_opendir_s and struct my_openfile_s from filesys_linux.c to include/fsdb.h as those are filesystem related types used in other compilation units as well.
Corrected fsdb_search_dir() to use the new struct my_opendir_s
Added missing include and intialization. Fixed a type issue and tagged calls to zfile_readdir_archive() with "fixme", because it returns an int but a pointer to a dirent struct is wanted.