mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 21:22:39 -05:00
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
This commit is contained in:
parent
dc8ad8684c
commit
eac36d5a09
4 changed files with 5 additions and 3 deletions
|
|
@ -894,7 +894,7 @@ struct plugin_api {
|
||||||
|
|
||||||
/* new stuff at the end, sort into place next time
|
/* new stuff at the end, sort into place next time
|
||||||
the API gets incompatible */
|
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 */
|
/* plugin header */
|
||||||
|
|
|
||||||
|
|
@ -90,7 +90,7 @@ bool dir_exists(const char *path)
|
||||||
}
|
}
|
||||||
|
|
||||||
#if !(CONFIG_PLATFORM & PLATFORM_ANDROID)
|
#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;
|
(void)parent;
|
||||||
return entry->info;
|
return entry->info;
|
||||||
|
|
|
||||||
|
|
@ -24,6 +24,7 @@
|
||||||
|
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
#include "file.h"
|
||||||
#include "dir.h"
|
#include "dir.h"
|
||||||
|
|
||||||
#ifdef HAVE_MULTIVOLUME
|
#ifdef HAVE_MULTIVOLUME
|
||||||
|
|
@ -34,6 +35,6 @@ int strip_volume(const char* name, char* namecopy);
|
||||||
bool file_exists(const char *file);
|
bool file_exists(const char *file);
|
||||||
bool dir_exists(const char *path);
|
bool dir_exists(const char *path);
|
||||||
#endif
|
#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_ */
|
#endif /* __INCLUDE_FILEFUNCS_H_ */
|
||||||
|
|
|
||||||
|
|
@ -21,6 +21,7 @@
|
||||||
#ifndef _DIRCACHE_H
|
#ifndef _DIRCACHE_H
|
||||||
#define _DIRCACHE_H
|
#define _DIRCACHE_H
|
||||||
|
|
||||||
|
#include "config.h"
|
||||||
#include "dir_uncached.h"
|
#include "dir_uncached.h"
|
||||||
|
|
||||||
#ifdef HAVE_DIRCACHE
|
#ifdef HAVE_DIRCACHE
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue