]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
avr-protos.h (avr_accumulate_outgoing_args): Move prototype from here to...
authorGeorg-Johann Lay <avr@gjlay.de>
Tue, 21 Feb 2012 17:41:06 +0000 (17:41 +0000)
committerGeorg-Johann Lay <gjl@gcc.gnu.org>
Tue, 21 Feb 2012 17:41:06 +0000 (17:41 +0000)
* config/avr/avr-protos.h (avr_accumulate_outgoing_args): Move
prototype from here to...
* config/avr/avr.h: ...here.

From-SVN: r184445

gcc/ChangeLog
gcc/config/avr/avr-protos.h
gcc/config/avr/avr.h

index bc8b10586f97e5b7bd768f9fee23403fa7974f89..ee9b3dfcc67a71ab0b4396cb5b0083ce93bc1399 100644 (file)
@@ -1,3 +1,9 @@
+2012-01-21  Georg-Johann Lay  <avr@gjlay.de>
+
+       * config/avr/avr-protos.h (avr_accumulate_outgoing_args): Move
+       prototype from here to...
+       * config/avr/avr.h: ...here.
+
 2012-02-21  Richard Earnshaw  <rearnsha@arm.com>
 
        PR target/52294
index fa8c421addc9648060d9b715c901f0cd16a0c3f6..229f38541c961a6353b942906ca610bd6cdebfbb 100644 (file)
@@ -33,7 +33,6 @@ extern int avr_simple_epilogue (void);
 extern int avr_hard_regno_rename_ok (unsigned int, unsigned int);
 extern rtx avr_return_addr_rtx (int count, rtx tem);
 extern void avr_register_target_pragmas (void);
-extern bool avr_accumulate_outgoing_args (void);
 extern void avr_init_expanders (void);
 
 #ifdef TREE_CODE
index 1b7bd3551cc61e229036d83829560c26a5de2c55..6bc73de974ffe9ccc78a545ef0d82565054340ca 100644 (file)
@@ -676,6 +676,10 @@ struct GTY(()) machine_function
    required in order for pushes to be generated.  */
 #define PUSH_ROUNDING(X)       (X)
 
+/* Define prototype here to avoid build warning.  Some files using
+   ACCUMULATE_OUTGOING_ARGS (directly or indirectly) include
+   tm.h but not tm_p.h.  */
+extern bool avr_accumulate_outgoing_args (void);
 #define ACCUMULATE_OUTGOING_ARGS avr_accumulate_outgoing_args()
 
 #define INIT_EXPANDERS avr_init_expanders()