mirror of
https://github.com/u-boot/u-boot.git
synced 2024-11-25 05:04:23 +08:00
ext2: constify file/dir names
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
parent
d7be3056de
commit
c87f6457bb
@ -749,7 +749,7 @@ int ext2fs_find_file
|
||||
}
|
||||
|
||||
|
||||
int ext2fs_ls (char *dirname) {
|
||||
int ext2fs_ls (const char *dirname) {
|
||||
ext2fs_node_t dirnode;
|
||||
int status;
|
||||
|
||||
@ -769,7 +769,7 @@ int ext2fs_ls (char *dirname) {
|
||||
}
|
||||
|
||||
|
||||
int ext2fs_open (char *filename) {
|
||||
int ext2fs_open (const char *filename) {
|
||||
ext2fs_node_t fdiro = NULL;
|
||||
int status;
|
||||
int len;
|
||||
|
@ -74,8 +74,8 @@ typedef enum
|
||||
|
||||
|
||||
extern int ext2fs_set_blk_dev(block_dev_desc_t *rbdd, int part);
|
||||
extern int ext2fs_ls (char *dirname);
|
||||
extern int ext2fs_open (char *filename);
|
||||
extern int ext2fs_ls (const char *dirname);
|
||||
extern int ext2fs_open (const char *filename);
|
||||
extern int ext2fs_read (char *buf, unsigned len);
|
||||
extern int ext2fs_mount (unsigned part_length);
|
||||
extern int ext2fs_close(void);
|
||||
|
Loading…
Reference in New Issue
Block a user