summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2013-01-14 11:13:09 +0000
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2013-01-14 11:13:09 +0000
commitcd5ec6866cabcbcd65d469fa4e878d8e5581a160 (patch)
tree89171f440f6d1f9567832f39ca3d9b2609e95cd0
parentdd5098793768e13c9c0c4aa8e5527c8fb8b50005 (diff)
downloadgcc-cd5ec6866cabcbcd65d469fa4e878d8e5581a160.tar.gz
2013-01-14 Richard Biener <rguenther@suse.de>
* fixlib.h (verbose_level, fixinc_mode): Mark extern. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@195142 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--fixincludes/ChangeLog4
-rw-r--r--fixincludes/fixlib.h4
2 files changed, 6 insertions, 2 deletions
diff --git a/fixincludes/ChangeLog b/fixincludes/ChangeLog
index 99d0f026563..d518b4d315b 100644
--- a/fixincludes/ChangeLog
+++ b/fixincludes/ChangeLog
@@ -1,3 +1,7 @@
+2013-01-14 Richard Biener <rguenther@suse.de>
+
+ * fixlib.h (verbose_level, fixinc_mode): Mark extern.
+
2012-10-29 Bruce Korb <bkorb@gnu.org>
* README: testing wrap and replacement fixes is pointless.
diff --git a/fixincludes/fixlib.h b/fixincludes/fixlib.h
index abbd853d0e7..45fe5a3cdb2 100644
--- a/fixincludes/fixlib.h
+++ b/fixincludes/fixlib.h
@@ -223,7 +223,7 @@ typedef enum {
VERB_EVERYTHING
} te_verbose;
-te_verbose verbose_level;
+extern te_verbose verbose_level;
#define VLEVEL(l) ((unsigned int) verbose_level >= (unsigned int) l)
#define NOT_SILENT VLEVEL(VERB_FIXES)
@@ -233,7 +233,7 @@ typedef enum {
TESTING_ON = 1
} fixinc_mode_t;
-fixinc_mode_t fixinc_mode;
+extern fixinc_mode_t fixinc_mode;
#ifdef HAVE_MMAP_FILE
#define UNLOAD_DATA() do { if (curr_data_mapped) { \