ext2: constify file/dir names
PATCH 1/1 ext2: constify file/dir names
Signed-off-by Mike Frysinger <[email protected]>
--- fs/ext2/ext2fs.c | 4 ++-- include/ext2fs.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-)
fs/ext2/ext2fs.c +2 -2
@@ -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;
include/ext2fs.h +2 -2
@@ -74,8 +74,8 @@ typedef enumextern 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 );
Signature · 1 line
1.7.3.1
Wolfgang Denk
AppliedPATCH 1/1 ext2: constify file/dir names
Dear Mike Frysinger,
Quoted 5 lines · In message <[email protected]> you wrote:
Signed-off-by Mike Frysinger <[email protected]>--- fs/ext2/ext2fs.c | 4 ++-- include/ext2fs.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-)
Applied to "next" branch, thanks.
Best regards,
Wolfgang Denk
Signature · 7 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de "No one talks peace unless he's ready to back it up with war." "He talks of peace if it is the only way to live." -- Colonel Green and Surak of Vulcan, "The Savage Curtain", stardate 5906.5.