diff options
author | Maxim Grigoriev <maxim2405@gmail.com> | 2011-03-11 18:37:45 +0000 |
---|---|---|
committer | Maxim Grigoriev <maxim2405@gmail.com> | 2011-03-11 18:37:45 +0000 |
commit | 4e6ca6d54b2eb427f62cb31f144a48ed3f006ae5 (patch) | |
tree | 744d0241beffe24740630ac0461d0001366bc484 /gdb | |
parent | 815a83e48ed8682ecbe74d98fc8f2fbe08d813ad (diff) | |
download | gdb-4e6ca6d54b2eb427f62cb31f144a48ed3f006ae5.zip gdb-4e6ca6d54b2eb427f62cb31f144a48ed3f006ae5.tar.gz gdb-4e6ca6d54b2eb427f62cb31f144a48ed3f006ae5.tar.bz2 |
2011-03-11 Maxim Grigoriev <maxim2405@gmail.com>
* xtensa-tdep.c (warning_once): Correct style issues.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/xtensa-tdep.c | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a01b269..97dfee0 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2011-03-11 Maxim Grigoriev <maxim2405@gmail.com> + + * xtensa-tdep.c (warning_once): Correct style issues. + 2011-03-11 Yao Qi <yao@codesourcery.com> * arm-tdep.c (copy_ldr_str_ldrb_strb): Remove redundant statements. diff --git a/gdb/xtensa-tdep.c b/gdb/xtensa-tdep.c index ba9be1e..1bb97ba 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 (_("\ |