summaryrefslogtreecommitdiff
path: root/apps/filetypes.h
diff options
context:
space:
mode:
authorWilliam Wilgus <wilgus.william@gmail.com>2021-10-20 16:05:21 -0400
committerWilliam Wilgus <wilgus.william@gmail.com>2021-10-20 16:05:21 -0400
commit9878226e4dec1ee7bb1434249214d6d8161b439f (patch)
tree6946582892b0e4f62c8072a546e95fb2a6a19977 /apps/filetypes.h
parente1553d860dc42a819fe71913d5a68a77fbf64a6e (diff)
downloadrockbox-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.h2
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
74int filetype_get_icon(int attr); 74int filetype_get_icon(int attr);
75/* return the plugin filename associated with the file */ 75/* return the plugin filename associated with the file */
76char* filetype_get_plugin(const struct entry* file); 76char* 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 */
79bool filetype_supported(int attr); 79bool filetype_supported(int attr);