warning cleanup
Richard Henderson
rth@redhat.com
Wed Oct 10 23:54:00 GMT 2001
This gets the functions in langhooks.c prototyped properly.
r~
* langhooks.c: Include langhooks.h.
* Makefile.in (langhooks.o): Depend on it.
Index: langhooks.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/langhooks.c,v
retrieving revision 1.2
diff -c -p -d -r1.2 langhooks.c
*** langhooks.c 2001/10/10 07:02:22 1.2
--- langhooks.c 2001/10/11 06:49:15
*************** Boston, MA 02111-1307, USA. */
*** 27,32 ****
--- 27,34 ----
#include "rtl.h"
#include "insn-config.h"
#include "integrate.h"
+ #include "langhooks.h"
+
/* lang_hooks.tree_inlining.walk_subtrees is called by walk_tree()
after handling common cases, but before walking code-specific
Index: Makefile.in
===================================================================
RCS file: /cvs/gcc/gcc/gcc/Makefile.in,v
retrieving revision 1.749
diff -c -p -d -r1.749 Makefile.in
*** Makefile.in 2001/10/10 07:02:21 1.749
--- Makefile.in 2001/10/11 06:49:48
*************** prefix.o: prefix.c $(CONFIG_H) $(SYSTEM_
*** 1349,1355 ****
convert.o: convert.c $(CONFIG_H) $(SYSTEM_H) $(TREE_H) flags.h convert.h toplev.h
langhooks.o : langhooks.c $(CONFIG_H) $(SYSTEM_H) $(TREE_H) toplev.h \
! tree-inline.h $(RTL_H) insn-config.h integrate.h
tree.o : tree.c $(CONFIG_H) $(SYSTEM_H) $(TREE_H) flags.h function.h toplev.h \
$(GGC_H) $(HASHTAB_H) $(TARGET_H) output.h $(TM_P_H)
tree-inline.o : tree-inline.c $(CONFIG_H) $(SYSTEM_H) $(TREE_H) $(RTL_H) \
--- 1349,1355 ----
convert.o: convert.c $(CONFIG_H) $(SYSTEM_H) $(TREE_H) flags.h convert.h toplev.h
langhooks.o : langhooks.c $(CONFIG_H) $(SYSTEM_H) $(TREE_H) toplev.h \
! tree-inline.h $(RTL_H) insn-config.h integrate.h langhooks.h
tree.o : tree.c $(CONFIG_H) $(SYSTEM_H) $(TREE_H) flags.h function.h toplev.h \
$(GGC_H) $(HASHTAB_H) $(TARGET_H) output.h $(TM_P_H)
tree-inline.o : tree-inline.c $(CONFIG_H) $(SYSTEM_H) $(TREE_H) $(RTL_H) \
More information about the Gcc-patches
mailing list