mirror of
https://git.tukaani.org/xz.git
synced 2024-04-04 12:36:23 +02:00
Add missing const to a global constant in xz.
This commit is contained in:
parent
01aa4869cb
commit
4a45dd4c39
2 changed files with 2 additions and 2 deletions
|
@ -25,7 +25,7 @@ bool opt_robot = false;
|
|||
|
||||
// We don't modify or free() this, but we need to assign it in some
|
||||
// non-const pointers.
|
||||
const char *stdin_filename = "(stdin)";
|
||||
const char *const stdin_filename = "(stdin)";
|
||||
|
||||
|
||||
static void
|
||||
|
|
|
@ -37,6 +37,6 @@ extern bool opt_keep_original;
|
|||
// extern bool opt_recursive;
|
||||
extern bool opt_robot;
|
||||
|
||||
extern const char *stdin_filename;
|
||||
extern const char *const stdin_filename;
|
||||
|
||||
extern void args_parse(args_info *args, int argc, char **argv);
|
||||
|
|
Loading…
Reference in a new issue