stand: file_loadraw: make 'type' a const char *
Reviewed by: imp, kib Pull Request: https://github.com/freebsd/freebsd-src/pull/1394
This commit is contained in:
committed by
Warner Losh
parent
4d213c595a
commit
c75ba31904
@@ -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,
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user