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]
Other format: [Raw text]

ARM PATCH silence undeclared structure warnings in prototypes


Fixes a bunch of warnings about struct cpp_reader being declared in the 
scope of a prototype.

2003-01-11  Richard Earnshaw  (rearnsha@arm.com)

	* arm-protos.h (struct cpp_reader): Add declaration.


Index: arm-protos.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/arm/arm-protos.h,v
retrieving revision 1.40
diff -p -r1.40 arm-protos.h
*** arm-protos.h	1 Jan 2003 20:23:01 -0000	1.40
--- arm-protos.h	11 Jan 2003 12:17:33 -0000
*************** extern rtx arm_expand_builtin		PARAMS ((
*** 210,215 ****
--- 210,216 ----
  					       enum machine_mode, int));
  #endif
  
+ struct cpp_reader;
  extern void arm_pr_long_calls		PARAMS ((struct cpp_reader *));
  extern void arm_pr_no_long_calls	PARAMS ((struct cpp_reader *));
  extern void arm_pr_long_calls_off	PARAMS ((struct cpp_reader *));

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