Fixed a lot of size_t related warnings, most of them due to array implementation...
[libfirm] / ir / tr / tpop_t.h
index 2f80280..0035215 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 1995-2008 University of Karlsruhe.  All right reserved.
+ * Copyright (C) 1995-2011 University of Karlsruhe.  All right reserved.
  *
  * This file is part of libFirm.
  *
@@ -61,7 +61,7 @@ typedef void (*insert_entity_func)(ir_type *tp, ir_entity *member);
 /**
  * tp_op operations.
  */
-typedef struct _tp_op_ops {
+typedef struct tp_op_ops {
        free_attrs_func         free_attrs;         /**< Called to free the attributes of a type. */
        free_entities_func      free_entities;      /**< Called to free the owned entities of a type. */
        free_auto_entities_func free_auto_entities; /**< Called to free the automatic allocated entities of a type. */
@@ -135,7 +135,7 @@ void finish_tpop(void);
  * @param op  The type opcode to get the size for.
  * @return The size of the attribute of types with this opcode.
  */
-int get_tpop_attr_size (const tp_op *op);
+size_t get_tpop_attr_size(const tp_op *op);
 
 
 /* ---------------- *