reiserfscore: constify strings
There are many calls in which strings are passed as "char *" yet aren't modified. This patch marks them const so callers can depend on it. Signed-off-by: Jeff Mahoney <jeffm@suse.com>
This commit is contained in:
1 parent
6bdb171b9e
commit
9b52a79ba2
9 files changed
+86
-83
No files matched your search
@@ -414,7 +414,7 @@ void reiserfs_bitmap_fill(reiserfs_bitmap_t *bm)
|
||||
#define BITMAP_START_MAGIC 374031
|
||||
#define BITMAP_END_MAGIC 7786472
|
||||
|
||||
FILE *open_file(char *filename, char *option)
|
||||
FILE *open_file(const char *filename, char *const option)
|
||||
{
|
||||
FILE *fp = fopen(filename, option);
|
||||
if (!fp) {
|
||||
|
||||
Reference in new issue
Block a user