diff options
author | Andrew Cagney <cagney@redhat.com> | 2004-10-11 05:26:25 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2004-10-11 05:26:25 +0000 |
commit | 7710980469e6ac66a7f949cee6d025069413485b (patch) | |
tree | 4d9caf8aa0993a3dc9a985d4520df262264a0b0d /gdb/ada-lang.c | |
parent | 2ad770c3805fe1546fb9ca004db785dcdc5966df (diff) | |
download | gdb-7710980469e6ac66a7f949cee6d025069413485b.zip gdb-7710980469e6ac66a7f949cee6d025069413485b.tar.gz gdb-7710980469e6ac66a7f949cee6d025069413485b.tar.bz2 |
2004-10-10 Andrew Cagney <cagney@gnu.org>
* ada-lang.c (lim_warning): Add ATTR_FORMAT prototype and FIXME
comment.
Diffstat (limited to 'gdb/ada-lang.c')
-rw-r--r-- | gdb/ada-lang.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/ada-lang.c b/gdb/ada-lang.c index bcbb3d0..5d88cf9 100644 --- a/gdb/ada-lang.c +++ b/gdb/ada-lang.c @@ -478,6 +478,10 @@ cond_offset_target (CORE_ADDR address, long offset) number of warnings has passed during the evaluation of the current expression. */ +/* FIXME: cagney/2004-10-10: This function is mimicking the behavior + provided by "complaint". */ +static void lim_warning (const char *format, ...) ATTR_FORMAT (printf, 1, 2); + static void lim_warning (const char *format, ...) { |