diff options
author | Thomas Martitz <kugel@rockbox.org> | 2010-09-01 21:45:58 +0000 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2010-09-01 21:45:58 +0000 |
commit | eac36d5a097c0c91ba7204cccc6001bf5bec2513 (patch) | |
tree | ef90c0f0abd27ab2c354ab8dff842d36849c7f2d | |
parent | dc8ad8684c48e60b45bdbf2bd837941e2172a476 (diff) | |
download | rockbox-eac36d5a097c0c91ba7204cccc6001bf5bec2513.tar.gz rockbox-eac36d5a097c0c91ba7204cccc6001bf5bec2513.zip |
struct DIR -> DIR, should fix most if not all reds.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27970 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | apps/plugin.h | 2 | ||||
-rw-r--r-- | firmware/common/filefuncs.c | 2 | ||||
-rw-r--r-- | firmware/export/filefuncs.h | 3 | ||||
-rw-r--r-- | firmware/include/dircache.h | 1 |
4 files changed, 5 insertions, 3 deletions
diff --git a/apps/plugin.h b/apps/plugin.h index ddd913088f..bafd4070f6 100644 --- a/apps/plugin.h +++ b/apps/plugin.h @@ -894,7 +894,7 @@ struct plugin_api { /* new stuff at the end, sort into place next time the API gets incompatible */ - struct dirinfo (*dir_get_info)(struct DIR* parent, struct dirent *entry); + struct dirinfo (*dir_get_info)(DIR* parent, struct dirent *entry); }; /* plugin header */ diff --git a/firmware/common/filefuncs.c b/firmware/common/filefuncs.c index c8ab468bcb..ea5984e485 100644 --- a/firmware/common/filefuncs.c +++ b/firmware/common/filefuncs.c @@ -90,7 +90,7 @@ bool dir_exists(const char *path) } #if !(CONFIG_PLATFORM & PLATFORM_ANDROID) -struct dirinfo dir_get_info(struct DIR* parent, struct dirent *entry) +struct dirinfo dir_get_info(DIR* parent, struct dirent *entry) { (void)parent; return entry->info; diff --git a/firmware/export/filefuncs.h b/firmware/export/filefuncs.h index f69c6da29c..3d4e73ad9f 100644 --- a/firmware/export/filefuncs.h +++ b/firmware/export/filefuncs.h @@ -24,6 +24,7 @@ #include <stdbool.h> #include "config.h" +#include "file.h" #include "dir.h" #ifdef HAVE_MULTIVOLUME @@ -34,6 +35,6 @@ int strip_volume(const char* name, char* namecopy); bool file_exists(const char *file); bool dir_exists(const char *path); #endif -extern struct dirinfo dir_get_info(struct DIR* parent, struct dirent *entry); +extern struct dirinfo dir_get_info(DIR* parent, struct dirent *entry); #endif /* __INCLUDE_FILEFUNCS_H_ */ diff --git a/firmware/include/dircache.h b/firmware/include/dircache.h index 37a803c63c..87aaa008a7 100644 --- a/firmware/include/dircache.h +++ b/firmware/include/dircache.h @@ -21,6 +21,7 @@ #ifndef _DIRCACHE_H #define _DIRCACHE_H +#include "config.h" #include "dir_uncached.h" #ifdef HAVE_DIRCACHE |