diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2009-02-11 16:13:47 +0100 |
---|---|---|
committer | Jan Engelhardt <jengelh@medozas.de> | 2009-02-12 07:15:07 +0100 |
commit | 41f03ba382dfd26e7db939fd02447058b1c56f7b (patch) | |
tree | f3dcf02441fb47a9dbf6897e452e271bd60a0476 /include/xtables.h.in | |
parent | 6f3c30059d9cf73c438db08998c58cd1b502eb44 (diff) |
libxtables: use const for vars holding literals
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Diffstat (limited to 'include/xtables.h.in')
-rw-r--r-- | include/xtables.h.in | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/xtables.h.in b/include/xtables.h.in index 6712aac0..ae1594a6 100644 --- a/include/xtables.h.in +++ b/include/xtables.h.in @@ -186,8 +186,7 @@ enum xtables_exittype { struct xtables_globals { unsigned int option_offset; - char *program_version; - char *program_name; + const char *program_name, *program_version; struct option *opts; void (*exit_err)(enum xtables_exittype status, const char *msg, ...) __attribute__((noreturn, format(printf,2,3))); }; |