summaryrefslogtreecommitdiff
path: root/gcc/config/avr/avr.h
diff options
context:
space:
mode:
authorgjl <gjl@138bc75d-0d04-0410-961f-82ee72b054a4>2012-02-21 17:41:06 +0000
committergjl <gjl@138bc75d-0d04-0410-961f-82ee72b054a4>2012-02-21 17:41:06 +0000
commit184a25cd03cebc77cfa86c948f925179246977bc (patch)
tree8686fa429529fdd03a6f03b0c4161904d3688d5e /gcc/config/avr/avr.h
parentb600658e8d293f533640150d81f62add096cbea1 (diff)
downloadgcc-184a25cd03cebc77cfa86c948f925179246977bc.tar.gz
* config/avr/avr-protos.h (avr_accumulate_outgoing_args): Move
prototype from here to... * config/avr/avr.h: ...here. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184445 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/avr/avr.h')
-rw-r--r--gcc/config/avr/avr.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/config/avr/avr.h b/gcc/config/avr/avr.h
index 1b7bd3551cc..6bc73de974f 100644
--- a/gcc/config/avr/avr.h
+++ b/gcc/config/avr/avr.h
@@ -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()