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]

Re: [Patch,AVR]: Fix missing prototype warning for ACCUMULATE_OUTGOING_ARGS


Denis Chertykov wrote:
> 2012/2/15 Georg-Johann Lay:
>> Some parts outside the backend use ACCUMULATE_OUTGOING_ARGS without including
>> tm_p.h which lead to a build warning because avr.h does
>>
>> #define ACCUMULATE_OUTGOING_ARGS avr_accumulate_outgoing_args()
>>
>> This patcs moved the prototype from avr-protos.h to avr.h:
>>
>>        * config/avr/avr-protos.h (avr_accumulate_outgoing_args): Move
>>        prototype from here to...
>>        * config/avr/avr.h: ...here.
>>
>> Ok for trunk?
>>
> 
> Approved.
> 
> Denis.

Committed with that change

bool avr_accumulate_outgoing_args (void)
to
int avr_accumulate_outgoing_args (void)

http://gcc.gnu.org/viewcvs?view=revision&revision=184475

Johann



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