From 4e6ca6d54b2eb427f62cb31f144a48ed3f006ae5 Mon Sep 17 00:00:00 2001 From: Maxim Grigoriev Date: Fri, 11 Mar 2011 18:37:45 +0000 Subject: [PATCH] 2011-03-11 Maxim Grigoriev * xtensa-tdep.c (warning_once): Correct style issues. --- gdb/ChangeLog | 4 ++++ gdb/xtensa-tdep.c | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) 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 (_("\ -- 2.30.2