This is the mail archive of the gcc@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]

Re: Removed functions still in header files


Steven Bosscher wrote:-

> While browsing tree.h I found a prototype for a function
> 'type_precision()'. According to the changelogs, this function was
> removed from tree.c back in 1998. The same seems to be true for some
> other functions (object_permanent_p, preserve_data, etc).
> 
> Shouldn't these protos be removed from the header files??

Indeed.  I've committed this patch as obvious.  If there are others
you know of, please let us know.

Neil.

	* tree.h (preserve_data, object_permanent_p, type_precision):
	Remove.

Index: tree.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/tree.h,v
retrieving revision 1.334
diff -u -p -r1.334 tree.h
--- tree.h	4 May 2002 20:14:59 -0000	1.334
+++ tree.h	9 May 2002 17:17:23 -0000
@@ -2824,9 +2824,6 @@ extern int really_constant_p		PARAMS ((t
 extern int int_fits_type_p		PARAMS ((tree, tree));
 extern int tree_log2			PARAMS ((tree));
 extern int tree_floor_log2		PARAMS ((tree));
-extern void preserve_data		PARAMS ((void));
-extern int object_permanent_p		PARAMS ((tree));
-extern int type_precision		PARAMS ((tree));
 extern int simple_cst_equal		PARAMS ((tree, tree));
 extern int compare_tree_int		PARAMS ((tree,
 						 unsigned HOST_WIDE_INT));


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