coretypes.h (enum symbol_visibility): Relocate here.
authorAndrew MacLeod <amacleod@redhat.com>
Wed, 5 Aug 2015 23:18:09 +0000 (23:18 +0000)
committerAndrew Macleod <amacleod@gcc.gnu.org>
Wed, 5 Aug 2015 23:18:09 +0000 (23:18 +0000)
2015-08-05  Andrew MacLeod  <amacleod@redhat.com>

* coretypes.h (enum symbol_visibility): Relocate here.
* flag-types.h (enum symbol_visibility): Remove.
* tree-core.h (enum symbol_visibility): Remove.

From-SVN: r226648

gcc/ChangeLog
gcc/coretypes.h
gcc/flag-types.h
gcc/tree-core.h

index 81a1430160a69ebf10e783c179ddc18f14e3b892..646dd18d044e06a8c3c422f7b5966f9b433299a8 100644 (file)
@@ -1,3 +1,9 @@
+2015-08-05  Andrew MacLeod  <amacleod@redhat.com>
+
+       * coretypes.h (enum symbol_visibility): Relocate here.
+       * flag-types.h (enum symbol_visibility): Remove.
+       * tree-core.h (enum symbol_visibility): Remove.
+
 2015-08-05  Lynn Boger  <laboger@linux.vnet.ibm.com>
 
        PR target/66870
index e3cec01f4d8a246fc8b087b423241a07618350d1..17e2b40c8258d903bc50f981f5719cad4125f770 100644 (file)
@@ -270,6 +270,16 @@ enum function_class {
   function_c11_misc
 };
 
+/* Enumerate visibility settings.  This is deliberately ordered from most
+   to least visibility.  */
+enum symbol_visibility
+{
+  VISIBILITY_DEFAULT,
+  VISIBILITY_PROTECTED,
+  VISIBILITY_HIDDEN,
+  VISIBILITY_INTERNAL
+};
+
 /* Suppose that higher bits are target dependent. */
 #define MEMMODEL_MASK ((1<<16)-1)
 
index 2f820a5a764cb7b9bf8ee4a646117b323c31265b..ac9ca0b75e0ecf7fc9727bf7bd664a0dcbf9851f 100644 (file)
@@ -91,19 +91,6 @@ enum debug_struct_file
   DINFO_STRUCT_FILE_ANY     /* Debug structs defined in all files. */
 };
 
-/* Enumerate visibility settings.  This is deliberately ordered from most
-   to least visibility.  */
-#ifndef SYMBOL_VISIBILITY_DEFINED
-#define SYMBOL_VISIBILITY_DEFINED
-enum symbol_visibility
-{
-  VISIBILITY_DEFAULT,
-  VISIBILITY_PROTECTED,
-  VISIBILITY_HIDDEN,
-  VISIBILITY_INTERNAL
-};
-#endif
-
 /* Enumerate Objective-c instance variable visibility settings. */
 
 enum ivar_visibility
index ecefdb979984a805362cf0b28acad03ee8ae77fc..560ce4bcdfcfe2ad45a32a6f37742cfd87aae232 100644 (file)
@@ -433,17 +433,6 @@ enum cv_qualifier {
   TYPE_QUAL_ATOMIC   = 0x8
 };
 
-/* Enumerate visibility settings.  */
-#ifndef SYMBOL_VISIBILITY_DEFINED
-#define SYMBOL_VISIBILITY_DEFINED
-enum symbol_visibility {
-  VISIBILITY_DEFAULT,
-  VISIBILITY_PROTECTED,
-  VISIBILITY_HIDDEN,
-  VISIBILITY_INTERNAL
-};
-#endif  // SYMBOL_VISIBILITY_DEFINED
-
 /* Standard named or nameless data types of the C compiler.  */
 enum tree_index {
   TI_ERROR_MARK,