diff options
Diffstat (limited to 'apps/plugin.h')
-rw-r--r-- | apps/plugin.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugin.h b/apps/plugin.h index 9728dc4ac4..e017247e77 100644 --- a/apps/plugin.h +++ b/apps/plugin.h @@ -150,7 +150,7 @@ struct plugin_api { int (*read_line)(int fd, char* buffer, int buffer_size); /* dir */ - DIR* (*opendir)(char* name); + DIR* (*opendir)(const char* name); int (*closedir)(DIR* dir); struct dirent* (*readdir)(DIR* dir); |