* config/tc-mn10300.c (set_arch_mach): Change argument type to
authorAlexandre Oliva <aoliva@redhat.com>
Thu, 12 Dec 2002 03:16:33 +0000 (03:16 +0000)
committerAlexandre Oliva <aoliva@redhat.com>
Thu, 12 Dec 2002 03:16:33 +0000 (03:16 +0000)
avoid warnings.
(r_register_name, xr_register_name): Add prototype declarations.

gas/ChangeLog
gas/config/tc-mn10300.c

index 0d33206..0aee958 100644 (file)
@@ -1,3 +1,9 @@
+2002-12-12  Alexandre Oliva  <aoliva@redhat.com>
+
+       * config/tc-mn10300.c (set_arch_mach): Change argument type to
+       avoid warnings.
+       (r_register_name, xr_register_name): Add prototype declarations.
+
 2002-12-08  H.J. Lu <hjl@gnu.org>
 
        * config/tc-ia64.c (md_apply_fix3): Remove the PCREL hack
index 6749460..be127c0 100644 (file)
@@ -92,7 +92,9 @@ static int reg_name_search PARAMS ((const struct reg_name *, int, const char *))
 static bfd_boolean data_register_name PARAMS ((expressionS *expressionP));
 static bfd_boolean address_register_name PARAMS ((expressionS *expressionP));
 static bfd_boolean other_register_name PARAMS ((expressionS *expressionP));
-static void set_arch_mach PARAMS ((unsigned int));
+static bfd_boolean r_register_name PARAMS ((expressionS *expressionP));
+static bfd_boolean xr_register_name PARAMS ((expressionS *expressionP));
+static void set_arch_mach PARAMS ((int));
 
 /*  Set linkrelax here to avoid fixups in most sections.  */
 int linkrelax = 1;
@@ -2152,7 +2154,7 @@ check_operand (insn, operand, val)
 
 static void
 set_arch_mach (mach)
-     unsigned int mach;
+     int mach;
 {
   if (!bfd_set_arch_mach (stdoutput, bfd_arch_mn10300, mach))
     as_warn (_("could not set architecture and machine"));