diff options
author | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-05-30 01:54:08 +0000 |
---|---|---|
committer | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-05-30 01:54:08 +0000 |
commit | 6c9b7859a78ba9c1383fefa4cc6396db03fcff7a (patch) | |
tree | dd57452d24dbdca4d91bebe4a6afb391b2d20f23 | |
parent | 57e96983214b3b639534234e3a0b24c53b345185 (diff) | |
download | gcc-6c9b7859a78ba9c1383fefa4cc6396db03fcff7a.tar.gz |
* raise.c (db): Add ATTRIBUTE_PRINTF_2.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100346 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/ada/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/ada/raise.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index b8c042c9d69..22956dd663d 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,7 @@ +2005-05-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> + + * raise.c (db): Add ATTRIBUTE_PRINTF_2. + 2005-05-29 Kazu Hirata <kazu@cs.umass.edu> * cal.c, decl.c, init.c, raise.c, trans.c, utils2.c: Fix diff --git a/gcc/ada/raise.c b/gcc/ada/raise.c index 626adfe74bf..05d19baf218 100644 --- a/gcc/ada/raise.c +++ b/gcc/ada/raise.c @@ -204,7 +204,7 @@ db_indent (int requests) } -static void +static void ATTRIBUTE_PRINTF_2 db (int db_code, char * msg_format, ...) { if (db_accepted_codes () & db_code) |