This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Fix prototypes in tree-inline.c


I just got:
/cvs/gcc/gcc/tree-inline.c:865: warning: function declaration isn't a prototype
/cvs/gcc/gcc/tree-inline.c:878: warning: function declaration isn't a prototype

Fixed with the appended patch, committed as obvious,

Andreas

2002-11-19  Andreas Jaeger  <aj@suse.de>

	* tree-inline.c: Move prototpyes of find_alloca_call_1 and
	find_alloca_call to right place.

============================================================
Index: gcc/tree-inline.c
--- gcc/tree-inline.c	18 Nov 2002 19:30:34 -0000	1.36
+++ gcc/tree-inline.c	19 Nov 2002 06:16:44 -0000
@@ -122,9 +122,9 @@ static void copy_scope_stmt PARAMS ((tre
 static tree initialize_inlined_parameters PARAMS ((inline_data *, tree, tree, tree));
 static void remap_block PARAMS ((tree *, tree, inline_data *));
 static tree add_stmt_to_compound PARAMS ((tree, tree, tree));
+#endif /* INLINER_FOR_JAVA */
 static tree find_alloca_call_1 PARAMS ((tree *, int *, void *));
 static tree find_alloca_call PARAMS ((tree));
-#endif /* INLINER_FOR_JAVA */
 
 /* The approximate number of instructions per statement.  This number
    need not be particularly accurate; it is used only to make

-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]