* src/vmcore/annotations.c (vmcore/loader.h): Added include.
authorMathias Panzenboeck <e0427417@student.tuwien.ac.at>
Wed, 29 Aug 2007 11:07:58 +0000 (13:07 +0200)
committerMathias Panzenboeck <e0427417@student.tuwien.ac.at>
Wed, 29 Aug 2007 11:07:58 +0000 (13:07 +0200)
1  2 
src/vmcore/annotation.c

index 31657d54c554d908829f0101625d2e85dd03cda9,426cfce8e5a708bcaec479c482e3c73ec0ff0cda..1a8533b672af1286a4369b9a62d4de59185f8b25
@@@ -43,6 -43,6 +43,7 @@@
  
  #include "vmcore/annotation.h"
  #include "vmcore/class.h"
++#include "vmcore/loader.h"
  #include "vmcore/suck.h"
  
  #if !defined(ENABLE_ANNOTATIONS)
@@@ -86,7 -86,7 +87,8 @@@ static bool annotation_bytearrays_resiz
        if (*bas != NULL) {
                minsize = size < oldsize ? size : oldsize;
  
--              MCOPY(LLNI_array_data(newbas), LLNI_array_data(*bas), java_object_t*, minsize);
++              MCOPY(LLNI_array_data(newbas), LLNI_array_data(*bas),
++                      java_object_t*, minsize);
        }
  
        *bas = newbas;
@@@ -232,7 -232,7 +234,7 @@@ static bool annotation_load_attribute_b
  bool annotation_load_method_attribute_annotationdefault(
                classbuffer *cb, methodinfo *m)
  {
--      int slot = 0;
++      int                         slot               = 0;
        java_handle_bytearray_t    *annotationdefault  = NULL;
        java_handle_objectarray_t **annotationdefaults = NULL;
  
  bool annotation_load_method_attribute_runtimevisibleparameterannotations(
                classbuffer *cb, methodinfo *m)
  {
--      int slot = 0;
++      int                         slot                 = 0;
        java_handle_bytearray_t    *annotations          = NULL;
        java_handle_objectarray_t **parameterannotations = NULL;
  
@@@ -403,7 -403,7 +405,7 @@@ bool annotation_load_class_attribute_ru
  bool annotation_load_method_attribute_runtimevisibleannotations(
        classbuffer *cb, methodinfo *m)
  {
--      int slot = 0;
++      int                         slot               = 0;
        java_handle_bytearray_t    *annotations        = NULL;
        java_handle_objectarray_t **method_annotations = NULL;
  
@@@ -453,7 -453,7 +455,7 @@@ bool annotation_load_method_attribute_r
  bool annotation_load_field_attribute_runtimevisibleannotations(
        classbuffer *cb, fieldinfo *f)
  {
--      int slot = 0;
++      int                          slot             = 0;
        java_handle_bytearray_t    *annotations       = NULL;
        java_handle_objectarray_t **field_annotations = NULL;