diff options
author | William Wilgus <wilgus.william@gmail.com> | 2021-10-20 16:05:21 -0400 |
---|---|---|
committer | William Wilgus <wilgus.william@gmail.com> | 2021-10-20 16:05:21 -0400 |
commit | 9878226e4dec1ee7bb1434249214d6d8161b439f (patch) | |
tree | 6946582892b0e4f62c8072a546e95fb2a6a19977 /apps/filetypes.h | |
parent | e1553d860dc42a819fe71913d5a68a77fbf64a6e (diff) | |
download | rockbox-9878226e4dec1ee7bb1434249214d6d8161b439f.tar.gz rockbox-9878226e4dec1ee7bb1434249214d6d8161b439f.zip |
filetree.c move static and stack allocated buffers around
it makes more sense to make the main buffer static and make the
second (infrequently needed) buffer as stack allocated
Change-Id: Ide7c1a7a312124e47a23ed0ab75a90d7b8be982e
Diffstat (limited to 'apps/filetypes.h')
-rw-r--r-- | apps/filetypes.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/filetypes.h b/apps/filetypes.h index 23f259b3ca..efe9f3f5df 100644 --- a/apps/filetypes.h +++ b/apps/filetypes.h | |||
@@ -73,7 +73,7 @@ int filetype_get_color(const char* name, int attr); | |||
73 | #endif | 73 | #endif |
74 | int filetype_get_icon(int attr); | 74 | int filetype_get_icon(int attr); |
75 | /* return the plugin filename associated with the file */ | 75 | /* return the plugin filename associated with the file */ |
76 | char* filetype_get_plugin(const struct entry* file); | 76 | char* filetype_get_plugin(const struct entry* file, char *buffer, size_t buffer_len); |
77 | 77 | ||
78 | /* returns true if the attr is supported */ | 78 | /* returns true if the attr is supported */ |
79 | bool filetype_supported(int attr); | 79 | bool filetype_supported(int attr); |