summaryrefslogtreecommitdiff
path: root/gcc/toplev.h
diff options
context:
space:
mode:
authorgdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4>2003-07-19 13:10:17 +0000
committergdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4>2003-07-19 13:10:17 +0000
commit4d11421ff19618a40d8a8384deffb02182147607 (patch)
tree5f63b033ae33b75223a862c8205df6b3ba2eca48 /gcc/toplev.h
parent81fa4da1871b4bf5bc755196482fe5a07f2e49e0 (diff)
downloadgcc-4d11421ff19618a40d8a8384deffb02182147607.tar.gz
* c-pragma.c (apply_pragma_weak): Don't use warning_with_decl.
* toplev.h (warning): Remove attribute. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69585 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/toplev.h')
-rw-r--r--gcc/toplev.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/toplev.h b/gcc/toplev.h
index a5d0c532e3a..75bf64c0660 100644
--- a/gcc/toplev.h
+++ b/gcc/toplev.h
@@ -55,7 +55,7 @@ extern void _fatal_insn (const char *, rtx, const char *, int, const char *)
#endif
extern void internal_error (const char *, ...) ATTRIBUTE_GCC_DIAG(1,2)
ATTRIBUTE_NORETURN;
-extern void warning (const char *, ...) ATTRIBUTE_GCC_DIAG(1,2);
+extern void warning (const char *, ...);
extern void error (const char *, ...) ATTRIBUTE_GCC_DIAG(1,2);
extern void fatal_error (const char *, ...) ATTRIBUTE_GCC_DIAG(1,2)
ATTRIBUTE_NORETURN;