jvgenmain.c: Need to #include "gansidecl.h" (to get PROTO).
authorPer Bothner <bothner@gcc.gnu.org>
Sun, 15 Nov 1998 17:16:05 +0000 (09:16 -0800)
committerPer Bothner <bothner@gcc.gnu.org>
Sun, 15 Nov 1998 17:16:05 +0000 (09:16 -0800)
8
* jvgenmain.c:  Need to #include "gansidecl.h" (to get PROTO).
* jcf-write.c (perform_relocations):  Move check out one loop.

From-SVN: r23664

gcc/java/jcf-write.c
gcc/java/jvgenmain.c

index 64c9e06475ff3610c8269ebe5c9eb6c312ff1f92..c4d5ca16add7fa1b19a4db7fe560618d99521da8 100644 (file)
@@ -2258,9 +2258,9 @@ perform_relocations (state)
              *--new_ptr = 0;
              *--new_ptr = - reloc->kind;
            }
-         if (new_ptr != chunk->data)
-           fatal ("internal error - perform_relocations");
        }
+      if (new_ptr != chunk->data)
+       fatal ("internal error - perform_relocations");
     }
   state->code_length = pc;
 }
index 43b8d7b8d6ba151d5adc74796fdd1d6be8881f70..abf1777828aa8142793504d825c5e0194331ce2f 100644 (file)
@@ -27,6 +27,7 @@ The Free Software Foundation is independent of Sun Microsystems, Inc.  */
 #include "config.h"
 #include "system.h"
 #include "obstack.h"
+#include "gansidecl.h"
 
 const char main_method_prefix[] = "main__";
 const char main_method_suffix[] = "Pt6JArray1ZPQ34java4lang6String";