aboutsummaryrefslogtreecommitdiff
path: root/src/xz/args.h
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2022-12-08 19:24:22 +0200
committerLasse Collin <lasse.collin@tukaani.org>2022-12-12 15:53:03 +0200
commit59a17888e96d748a119558e793ebb60d7f08a857 (patch)
tree8115f959b9ff267d8bd7ff0566a91630b167e941 /src/xz/args.h
parentxz: Don't modify argv[]. (diff)
downloadxz-59a17888e96d748a119558e793ebb60d7f08a857.tar.xz
xz: Make args_info.files_name a const pointer.
Diffstat (limited to 'src/xz/args.h')
-rw-r--r--src/xz/args.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xz/args.h b/src/xz/args.h
index 46a8e8ed..a1a5930a 100644
--- a/src/xz/args.h
+++ b/src/xz/args.h
@@ -19,7 +19,7 @@ typedef struct {
/// Name of the file from which to read filenames. This is NULL
/// if --files or --files0 was not used.
- char *files_name;
+ const char *files_name;
/// File opened for reading from which filenames are read. This is
/// non-NULL only if files_name is non-NULL.