searchFile: use filenamemcopy
This commit is contained in:
@@ -161,6 +161,6 @@ int loadFileDICTIONARY(const char *preferredName, void *data, size_t *datalen, u
|
||||
int convertOldMfuDump(uint8_t **dump, size_t *dumplen);
|
||||
|
||||
int searchAndList(const char *pm3dir, const char *ext);
|
||||
char *searchFile(const char *pm3dir, const char *ext, const char *filename);
|
||||
char *searchFile(const char *pm3dir, const char *suffix, const char *preferredName);
|
||||
|
||||
#endif // FILEUTILS_H
|
||||
|
||||
Reference in New Issue
Block a user