diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2007-08-01 15:19:15 +0000 |
---|---|---|
committer | Yasuyuki KOZAKAI <yasuyuki@netfilter.org> | 2007-08-01 15:19:15 +0000 |
commit | d884051d7dfa51ebe1a37e343af516b1bba6943d (patch) | |
tree | 53c9c6d97b0b5971691900f87b0fa307fe6282c0 /include | |
parent | 6053fe00dda962fbabe158291a88b1a92aadc215 (diff) |
Make @msg argument a const char *, just like printf().
Signed-off-by: Jan Engelhardt <jengelh@gmx.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/xtables.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/xtables.h b/include/xtables.h index 72e6ae22..3ac561f5 100644 --- a/include/xtables.h +++ b/include/xtables.h @@ -224,7 +224,7 @@ enum exittype { extern void exit_printhelp() __attribute__((noreturn)); extern void exit_tryhelp(int) __attribute__((noreturn)); int check_inverse(const char option[], int *invert, int *optind, int argc); -void exit_error(enum exittype, char *, ...)__attribute__((noreturn, +void exit_error(enum exittype, const char *, ...)__attribute__((noreturn, format(printf,2,3))); extern const char *program_name, *program_version; |