Fixed comments and convert them to doxygen.
[libfirm] / ir / tr / typegmod.c
index 4a44ef9..bc4744a 100644 (file)
@@ -1,17 +1,18 @@
 /* Copyright (C) 2001 by Universitaet Karlsruhe
-** All rights reserved.
-**
-** Authors: Goetz Lindenmaier
-**
+* All rights reserved.
+*
+* Authors: Goetz Lindenmaier
+*
 */
 
+/* $Id$ */
+
 # include "typegmod_t.h"
 # include "type_t.h"
 # include "tpop_t.h"
 # include "irmode.h"
 
-inline void exchange_types(type *old_type, type *new_type) {
-  int i;
+INLINE void exchange_types(type *old_type, type *new_type) {
   /* Deallocate datastructures not directly contained in the
      old type.  We must do this now as it is the latest point
      where we know the original kind of type.
@@ -35,7 +36,7 @@ inline void exchange_types(type *old_type, type *new_type) {
   old_type->mode = (ir_mode *) new_type;
 }
 
-inline type *skip_tid(type *tp) {
+INLINE type *skip_tid(type *tp) {
   while (tp->type_op == type_id)
     tp = (type *) tp->mode;
   return tp;