__FUNCTION__ is only available under GNU C, else __FILE__ is used
[libfirm] / ir / ir / irgmod.c
index d19b21a..4932d7c 100644 (file)
@@ -1,10 +1,10 @@
 
 /* Copyright (C) 1998 - 2000 by Universitaet Karlsruhe
-** All rights reserved.
-**
-** Authors: Martin Trapp, Christian Schaefer
-**
-** irgmod: ir graph modification
+* All rights reserved.
+*
+* Authors: Martin Trapp, Christian Schaefer
+*
+* irgmod: ir graph modification
 */
 
 /* $Id$ */
@@ -59,12 +59,12 @@ exchange (ir_node *old, ir_node *nw)
 /*  Functionality for collect_phis                                     */
 /**********************************************************************/
 
-void
+static void
 clear_link (ir_node *n, void *env) {
   set_irn_link(n, NULL);
 }
 
-void
+static void
 collect (ir_node *n, void *env) {
   ir_node *pred;
   if (get_irn_op(n) == op_Phi) {
@@ -100,7 +100,7 @@ void collect_phiprojs(ir_graph *irg) {
 /* Moves node and all predecessors of node from from_bl to to_bl.
    Does not move predecessors of Phi nodes (or block nodes). */
 
-void move (ir_node *node, ir_node *from_bl, ir_node *to_bl) {
+static void move (ir_node *node, ir_node *from_bl, ir_node *to_bl) {
   int i;
   ir_node *proj, *pred;