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]

patch: declare safe_for_unsave in tree.h


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

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