This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Patch [3.3] installed for ISO C -> traditional function definitionReferences: <200304042157.QAA20596@caip.rutgers.edu>
- From: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- To: gcc-patches at gcc dot gnu dot org
- Date: Sat, 5 Apr 2003 22:17:58 -0500 (EST)
- Subject: Re: Patch [3.3] installed for ISO C -> traditional function definitionReferences: <200304042157.QAA20596@caip.rutgers.edu>
Grr, changing the function def to K&R style requires adding a
prototype. Installed on 3.3 only.
2003-04-05 Kaveh R. Ghazi <ghazi at caip dot rutgers dot edu>
* c-decl.c (set_save_expr_context): Prototype.
diff -rup orig/egcc-3.3-CVS20030405/gcc/c-decl.c egcc-3.3-CVS20030405/gcc/c-decl.c
--- orig/egcc-3.3-CVS20030405/gcc/c-decl.c 2003-04-04 16:53:40.000000000 -0500
+++ egcc-3.3-CVS20030405/gcc/c-decl.c 2003-04-05 21:46:15.965394832 -0500
@@ -283,6 +283,7 @@ static tree c_make_fname_decl
static void c_expand_body PARAMS ((tree, int, int));
static void warn_if_shadowing PARAMS ((tree, tree));
static bool flexible_array_type_p PARAMS ((tree));
+static tree set_save_expr_context PARAMS ((tree *, int *, void *));
/* States indicating how grokdeclarator() should handle declspecs marked
with __attribute__((deprecated)). An object declared as