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
@@ -1468,7 +1468,7 @@ void init_path (struct reiserfs_path *);
|
||||
data items and indirect items */
|
||||
#define PRINT_DIRECT_ITEMS 0x8 /* print contents of direct items */
|
||||
|
||||
void print_tb (int mode, int item_pos, int pos_in_item, struct tree_balance * tb, char * mes);
|
||||
void print_tb (int mode, int item_pos, int pos_in_item, struct tree_balance * tb, const char * mes);
|
||||
|
||||
|
||||
void print_bmap (FILE * fp, reiserfs_filsys_t fs, int silent);
|
||||
|
||||
Reference in new issue
Block a user