diff options
author | Gerald Pfeifer <gerald@pfeifer.com> | 2005-11-14 16:28:55 +0000 |
---|---|---|
committer | Gerald Pfeifer <gerald@gcc.gnu.org> | 2005-11-14 16:28:55 +0000 |
commit | ba0966205abd97fa9d915e0c4c5e22afa5936b15 (patch) | |
tree | 8c82c5342d450485ff4219e97dfc540749fa4e5a /libcpp/include | |
parent | b96758645044c7090a537665941b1ff87ca8fe15 (diff) | |
download | gcc-ba0966205abd97fa9d915e0c4c5e22afa5936b15.tar.gz |
cpplib.h (struct cpp_callbacks): Annotate error with ATTRIBUTE_FPTR_PRINTF(3,0) instead of ATTRIBUTE_PRINTF(3,0).
* include/cpplib.h (struct cpp_callbacks): Annotate error with
ATTRIBUTE_FPTR_PRINTF(3,0) instead of ATTRIBUTE_PRINTF(3,0).
Co-Authored-By: Ian Lance Taylor <ian@airs.com>
From-SVN: r106891
Diffstat (limited to 'libcpp/include')
-rw-r--r-- | libcpp/include/cpplib.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcpp/include/cpplib.h b/libcpp/include/cpplib.h index adae96b3560..9ec022f6dfc 100644 --- a/libcpp/include/cpplib.h +++ b/libcpp/include/cpplib.h @@ -474,7 +474,7 @@ struct cpp_callbacks /* Called to emit a diagnostic if client_diagnostic option is true. This callback receives the translated message. */ void (*error) (cpp_reader *, int, const char *, va_list *) - ATTRIBUTE_PRINTF(3,0); + ATTRIBUTE_FPTR_PRINTF(3,0); }; /* Chain of directories to look for include files in. */ |