Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(288)

Unified Diff: gcc/gcc/errors.h

Issue 3050029: [gcc] GCC 4.5.0=>4.5.1 (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/nacl-toolchain.git
Patch Set: Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gcc/gcc/ebitmap.h ('k') | gcc/gcc/et-forest.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gcc/gcc/errors.h
diff --git a/gcc/gcc/errors.h b/gcc/gcc/errors.h
index 10d52c72d2de8eff8a8a8d343f02b2bdaa93caca..c66054368dae1f1778b1f6a61f69ec319bcd074a 100644
--- a/gcc/gcc/errors.h
+++ b/gcc/gcc/errors.h
@@ -29,11 +29,7 @@ along with GCC; see the file COPYING3. If not see
#ifndef GCC_ERRORS_H
#define GCC_ERRORS_H
-/* The first parameter is for compatibility with the non-generator
- version of warning(). For those, you'd pass an OPT_W* value from
- options.h, but in generator programs it has no effect, so it's OK
- to just pass zero for calls from generator-only files. */
-extern bool warning (int, const char *, ...) ATTRIBUTE_PRINTF_2 ATTRIBUTE_COLD;
+extern void warning (const char *, ...) ATTRIBUTE_PRINTF_1 ATTRIBUTE_COLD;
extern void error (const char *, ...) ATTRIBUTE_PRINTF_1 ATTRIBUTE_COLD;
extern void fatal (const char *, ...) ATTRIBUTE_NORETURN ATTRIBUTE_PRINTF_1 ATTRIBUTE_COLD;
extern void internal_error (const char *, ...) ATTRIBUTE_NORETURN ATTRIBUTE_PRINTF_1 ATTRIBUTE_COLD;
« no previous file with comments | « gcc/gcc/ebitmap.h ('k') | gcc/gcc/et-forest.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698