From: Arturo Borrero Gonzalez <aborrero@xxxxxxxxxxxxxx> xtables-eb.c:305:1: warning: empty declaration } __attribute__((noreturn, format(printf,2,3))); ^ xtables-eb.c:311:2: warning: initialization makes '__attribute__((noreturn))' qualified function pointer from unqualified .exit_err = ebt_print_error, ^ Signed-off-by: Arturo Borrero Gonzalez <arturo.borrero.glez@xxxxxxxxx> --- iptables/xtables-eb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/iptables/xtables-eb.c b/iptables/xtables-eb.c index ddef14a..c8b5d4f 100644 --- a/iptables/xtables-eb.c +++ b/iptables/xtables-eb.c @@ -292,7 +292,7 @@ static struct option ebt_original_options[] = { 0 } }; -static void +static void __attribute__((__noreturn__,format(printf,2,3))) ebt_print_error(enum xtables_exittype status, const char *format, ...) { va_list l; @@ -302,7 +302,7 @@ ebt_print_error(enum xtables_exittype status, const char *format, ...) fprintf(stderr, ".\n"); va_end(l); exit(-1); -} __attribute__((noreturn, format(printf,2,3))); +} struct xtables_globals ebtables_globals = { .option_offset = 0, -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html