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]

Patch: 3.3 Warning removal gcc/tree-inline.c


1118/gcc/tree-inline.c:865: warning: function declaration isn't a prototype
1118/gcc/tree-inline.c:878: warning: function declaration isn't a prototype

2002-11-19  Rodney Brown  <rbrown64@csc.com.au>

      * tree-inline.c: Expose find_alloca_call, find_alloca_call_1 prototypes.

--- tree-inline.c.orig  Tue Nov 19 13:28:24 2002
+++ tree-inline.c Tue Nov 19 16:11:23 2002
@@ -112,6 +112,8 @@ static tree copy_body_r PARAMS ((tree *,
 static tree copy_body PARAMS ((inline_data *));
 static tree expand_call_inline PARAMS ((tree *, int *, void *));
 static void expand_calls_inline PARAMS ((tree *, inline_data *));
+static tree find_alloca_call_1 PARAMS ((tree *, int *, void *));
+static tree find_alloca_call PARAMS ((tree));
 static int inlinable_function_p PARAMS ((tree, inline_data *));
 static tree remap_decl PARAMS ((tree, inline_data *));
 #ifndef INLINER_FOR_JAVA
@@ -122,8 +124,6 @@ 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));
-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


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