Skip to content

Commit

Permalink
stand: file_loadraw: make 'type' a const char *
Browse files Browse the repository at this point in the history
Reviewed by: imp, kib
Pull Request: #1394
  • Loading branch information
VexedUXR authored and bsdimp committed Jan 24, 2025
1 parent 4d213c5 commit c75ba31
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion stand/common/bootstrap.h
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ void unload(void);
struct preloaded_file *file_alloc(void);
struct preloaded_file *file_findfile(const char *name, const char *type);
struct file_metadata *file_findmetadata(struct preloaded_file *fp, int type);
struct preloaded_file *file_loadraw(const char *name, char *type, int insert);
struct preloaded_file *file_loadraw(const char *name, const char *type, int insert);
void file_discard(struct preloaded_file *fp);
void file_addmetadata(struct preloaded_file *, int, size_t, void *);
int file_addmodule(struct preloaded_file *, char *, int,
Expand Down
2 changes: 1 addition & 1 deletion stand/common/module.c
Original file line number Diff line number Diff line change
Expand Up @@ -652,7 +652,7 @@ file_load_dependencies(struct preloaded_file *base_file)
* no arguments or anything.
*/
struct preloaded_file *
file_loadraw(const char *fname, char *type, int insert)
file_loadraw(const char *fname, const char *type, int insert)
{
struct preloaded_file *fp;
char *name;
Expand Down

0 comments on commit c75ba31

Please sign in to comment.