mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
Remove browse_context_init()
Prefer to use designated initializers to avoid having to specify unneeded parameters. Non-initialized members are zero-initialized by the compiler. Change-Id: Ia6a03c45cb3ef0b30f458d7d0ae1604a350c737c
This commit is contained in:
parent
701e262d3d
commit
6c52fa139c
17 changed files with 117 additions and 108 deletions
|
@ -106,10 +106,6 @@ void tree_init(void) INIT_ATTR;
|
|||
char* get_current_file(char* buffer, size_t buffer_len);
|
||||
void set_dirfilter(int l_dirfilter);
|
||||
void set_current_file(const char *path);
|
||||
void browse_context_init(struct browse_context *browse,
|
||||
int dirfilter, unsigned flags,
|
||||
char *title, enum themable_icons icon,
|
||||
const char *root, const char *selected);
|
||||
int rockbox_browse(struct browse_context *browse);
|
||||
int create_playlist(void);
|
||||
void resume_directory(const char *dir);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue