diff options
| author | Kevin Ferrare <kevin@rockbox.org> | 2007-07-20 17:06:55 +0000 |
|---|---|---|
| committer | Kevin Ferrare <kevin@rockbox.org> | 2007-07-20 17:06:55 +0000 |
| commit | 011a325e32c05f6e4817dcdc555615e6b7b6c102 (patch) | |
| tree | ab22ab91b99524dba823cda861b17520db030911 /apps/plugin.c | |
| parent | 930278bcc0fd944ec50f30074b53b4c7cf0e3ccf (diff) | |
| download | rockbox-011a325e32c05f6e4817dcdc555615e6b7b6c102.zip rockbox-011a325e32c05f6e4817dcdc555615e6b7b6c102.tar.gz rockbox-011a325e32c05f6e4817dcdc555615e6b7b6c102.tar.bz2 rockbox-011a325e32c05f6e4817dcdc555615e6b7b6c102.tar.xz | |
Makes apps and plugins interract with directories using a posix-like api instead of calling dircache / simulator functions (no additionnal layer added, only a cosmetic change)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13943 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.c')
| -rw-r--r-- | apps/plugin.c | 17 |
1 files changed, 5 insertions, 12 deletions
diff --git a/apps/plugin.c b/apps/plugin.c index aff24e0..68b430d 100644 --- a/apps/plugin.c +++ b/apps/plugin.c @@ -222,18 +222,11 @@ static const struct plugin_api rockbox_api = { create_numbered_filename, /* dir */ - PREFIX(opendir), - PREFIX(closedir), - PREFIX(readdir), - PREFIX(mkdir), - PREFIX(rmdir), - - /* dir, cached */ -#ifdef HAVE_DIRCACHE - opendir_cached, - readdir_cached, - closedir_cached, -#endif + opendir, + closedir, + readdir, + mkdir, + rmdir, /* kernel/ system */ PREFIX(sleep), |