mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
static const char *str -> static const char str[]
Make all the static constant strings as char arrays, so they can be fully stored in read-only memory.
This commit is contained in:
@@ -98,7 +98,7 @@ main (int argc, char *argv[])
|
||||
|
||||
enum { HELP_OPTION = CHAR_MAX + 1 };
|
||||
|
||||
static const char *options = "a:c:d:m:rvVwx";
|
||||
static const char options[] = "a:c:d:m:rvVwx";
|
||||
static const struct option long_options[] = {
|
||||
{ "add", 1, 0, 'a' },
|
||||
{ "append", 1, 0, 0 },
|
||||
|
||||
Reference in New Issue
Block a user