* elf32-xtensa.c (ebb_propose_action): Put declarations before
authorBob Wilson <bob.wilson@acm.org>
Thu, 21 Oct 2004 16:29:11 +0000 (16:29 +0000)
committerBob Wilson <bob.wilson@acm.org>
Thu, 21 Oct 2004 16:29:11 +0000 (16:29 +0000)
statements.

bfd/ChangeLog
bfd/elf32-xtensa.c

index 93c2606e4328937645836f6fd86cb3c7f31eb419..0aa7ddd97682dc9fda1640226cac6fd87d5a5879 100644 (file)
@@ -1,3 +1,8 @@
+2004-10-21  Bob Wilson  <bob.wilson@acm.org>
+
+       * elf32-xtensa.c (ebb_propose_action): Put declarations before
+       statements.
+
 2004-10-21  H.J. Lu  <hongjiu.lu@intel.com>
 
        * configure.in: (AM_INIT_AUTOMAKE): Set version to 2.15.94.
index 8d9649e3a60bbb2ba422b39bff68614fb7f3018d..472ec34f48d19cc883c782d12b746e07eced40ab 100644 (file)
@@ -5598,9 +5598,10 @@ ebb_propose_action (ebb_constraint *c,
   if (c->action_allocated <= c->action_count)
     {
       unsigned new_allocated, i;
+      proposed_action *new_actions;
 
       new_allocated = (c->action_count + 2) * 2;
-      proposed_action *new_actions = (proposed_action *)
+      new_actions = (proposed_action *)
        bfd_zmalloc (sizeof (proposed_action) * new_allocated);
 
       for (i = 0; i < c->action_count; i++)