regclass.c (reg_class_superclasses, [...]): Make them static.
authorKazu Hirata <kazu@cs.umass.edu>
Mon, 14 Mar 2005 02:56:51 +0000 (02:56 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Mon, 14 Mar 2005 02:56:51 +0000 (02:56 +0000)
* regclass.c (reg_class_superclasses, reg_class_subclasses):
Make them static.
* hard-reg-set.h: Remove the corresponding declarations.

From-SVN: r96410

gcc/ChangeLog
gcc/hard-reg-set.h
gcc/regclass.c

index d8fcc52924289ec3166df84a31753001fcb43061..eda99eb93f7e08e78895374d558487cd6663a6e3 100644 (file)
@@ -6,6 +6,10 @@
        * function.c (get_func_frame_size): Make it static.
        * function.h: Remove the corresponding type.
 
+       * regclass.c (reg_class_superclasses, reg_class_subclasses):
+       Make them static.
+       * hard-reg-set.h: Remove the corresponding declarations.
+
 2005-03-14  Alan Modra  <amodra@bigpond.net.au>
 
        * config.gcc: Remove excess indentation.
index c78527e4cf6033bedf1aade42f3404077b8a5d89..b101c5eb6e6eb426afdd7e6eeac4e71f8ac5bb74 100644 (file)
@@ -464,14 +464,6 @@ extern HARD_REG_SET reg_class_contents[N_REG_CLASSES];
 
 extern unsigned int reg_class_size[N_REG_CLASSES];
 
-/* For each reg class, table listing all the containing classes.  */
-
-extern enum reg_class reg_class_superclasses[N_REG_CLASSES][N_REG_CLASSES];
-
-/* For each reg class, table listing all the classes contained in it.  */
-
-extern enum reg_class reg_class_subclasses[N_REG_CLASSES][N_REG_CLASSES];
-
 /* For each pair of reg classes,
    a largest reg class contained in their union.  */
 
index adfab02ad2c4218fa1a2bf5b29055b16c9eadd85..78951cfd3dac4909a32f2b37a9bde3ed54089674 100644 (file)
@@ -172,11 +172,11 @@ unsigned int reg_class_size[N_REG_CLASSES];
 
 /* For each reg class, table listing all the containing classes.  */
 
-enum reg_class reg_class_superclasses[N_REG_CLASSES][N_REG_CLASSES];
+static enum reg_class reg_class_superclasses[N_REG_CLASSES][N_REG_CLASSES];
 
 /* For each reg class, table listing all the classes contained in it.  */
 
-enum reg_class reg_class_subclasses[N_REG_CLASSES][N_REG_CLASSES];
+static enum reg_class reg_class_subclasses[N_REG_CLASSES][N_REG_CLASSES];
 
 /* For each pair of reg classes,
    a largest reg class contained in their union.  */