This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
patch: declare safe_for_unsave in tree.h
- To: gcc-patches at gcc dot gnu dot org
- Subject: patch: declare safe_for_unsave in tree.h
- From: Brad Lucier <lucier at math dot purdue dot edu>
- Date: Mon, 20 Mar 2000 16:19:30 -0500 (EST)
- Cc: lucier at math dot purdue dot edu
To get rid of this message:
../../gcc/calls.c:2027: warning: implicit declaration of function `safe_for_unsa
ve'
I believe that safe_for_unsave should be declared in tree.h.
* tree.h (safe_for_unsave): Declare.
===================================================================
RCS file: RCS/tree.h,v
retrieving revision 1.1
diff -c -r1.1 tree.h
*** tree.h 2000/03/20 21:09:58 1.1
--- tree.h 2000/03/20 21:11:45
***************
*** 2010,2015 ****
--- 2010,2017 ----
extern tree unsave_expr_now PARAMS ((tree));
+ extern int safe_for_unsave PARAMS ((tree));
+
/* If non-null, these are language-specific helper functions for
unsave_expr_now. If present, LANG_UNSAVE is called before its
argument (an UNSAVE_EXPR) is to be unsaved, and all other