diff options
author | /C=JP/ST=JP/CN=Yasuyuki Kozakai/emailAddress=yasuyuki@netfilter.org </C=JP/ST=JP/CN=Yasuyuki Kozakai/emailAddress=yasuyuki@netfilter.org> | 2007-08-01 15:19:15 +0000 |
---|---|---|
committer | /C=JP/ST=JP/CN=Yasuyuki Kozakai/emailAddress=yasuyuki@netfilter.org </C=JP/ST=JP/CN=Yasuyuki Kozakai/emailAddress=yasuyuki@netfilter.org> | 2007-08-01 15:19:15 +0000 |
commit | c319c678598a02be2e941939663ca67606d82b64 (patch) | |
tree | 53c9c6d97b0b5971691900f87b0fa307fe6282c0 /include | |
parent | fea3814c696b7c93990d2a6325e8ca777f55914f (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 72e6ae2..3ac561f 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; |