This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
ARM PATCH silence undeclared structure warnings in prototypes
- From: Richard Earnshaw <rearnsha at arm dot com>
- To: gcc-patches at gcc dot gnu dot org
- Cc: Richard dot Earnshaw at arm dot com
- Date: Sat, 11 Jan 2003 12:21:31 +0000
- Subject: ARM PATCH silence undeclared structure warnings in prototypes
- Organization: ARM Ltd.
- Reply-to: Richard dot Earnshaw at arm dot com
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 *));