From: Maxim Grigoriev Date: Fri, 11 Mar 2011 18:37:45 +0000 (+0000) Subject: 2011-03-11 Maxim Grigoriev X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4e6ca6d54b2eb427f62cb31f144a48ed3f006ae5;p=binutils-gdb.git 2011-03-11 Maxim Grigoriev * xtensa-tdep.c (warning_once): Correct style issues. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a01b2691927..97dfee0cf7c 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2011-03-11 Maxim Grigoriev + + * xtensa-tdep.c (warning_once): Correct style issues. + 2011-03-11 Yao Qi * arm-tdep.c (copy_ldr_str_ldrb_strb): Remove redundant statements. diff --git a/gdb/xtensa-tdep.c b/gdb/xtensa-tdep.c index ba9be1e0e32..1bb97ba1730 100644 --- a/gdb/xtensa-tdep.c +++ b/gdb/xtensa-tdep.c @@ -1421,7 +1421,8 @@ static int xtensa_session_once_reported = 1; /* Report a problem with prologue analysis while doing backtracing. But, do it only once to avoid annoyng repeated messages. */ -static void warning_once () +static void +warning_once (void) { if (xtensa_session_once_reported == 0) warning (_("\