Added static to many static routines
[libfirm] / ir / ana / irbackedge_t.h
1 #ifndef _IRBACKEDGE_T_H_
2 #define _IRBACKEDGE_T_H_
3
4 # include "string.h"
5
6 static INLINE int * new_backedge_arr(struct obstack *obst, int size) {
7   int *res = NEW_ARR_D (int, obst, size);
8   memset(res, 0, sizeof(int) * size);
9   return res;
10 }
11
12 /* Adapts backedges array to new size.
13    Must be called if in array of irnode is changed.  Else
14    Segmentation faults might occur.  */
15 void fix_backedges(struct obstack *obst, ir_node *n);
16
17 #endif /* _IRBACKEDGE_T_H_ */