Fixed some typos.
[libfirm] / ir / ir / irgraph_t.h
index 6e393ef..b431f06 100644 (file)
@@ -93,7 +93,7 @@ struct obstack *get_irg_obstack(const ir_graph *irg);
  * @param irg   the IR graph
  * @param n the IR node
  */
-int node_is_in_irgs_storage(ir_graph *irg, ir_node *n);
+int node_is_in_irgs_storage(const ir_graph *irg, const ir_node *n);
 
 /*-------------------------------------------------------------------*/
 /* inline functions for graphs                                       */
@@ -447,7 +447,7 @@ static inline void irg_kill_node(ir_graph *irg, ir_node *n)
  * @return    The node with that index or NULL, if there is no node with that index.
  * @note      The node you got might be dead.
  */
-static inline ir_node *_get_idx_irn(ir_graph *irg, unsigned idx)
+static inline ir_node *_get_idx_irn(const ir_graph *irg, unsigned idx)
 {
        assert(idx < (unsigned) ARR_LEN(irg->idx_irn_map));
        return irg->idx_irn_map[idx];