avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] Re: [avr-libc-dev] Please have a look at avr-libc pat


From: David Kelly
Subject: Re: [avr-gcc-list] Re: [avr-libc-dev] Please have a look at avr-libc patch #3750
Date: Mon, 5 Sep 2005 12:25:42 -0500


On Sep 5, 2005, at 9:19 AM, Joerg Wunsch wrote:

   1. To change the order of arguments 'put' as:
    int (*put)(FILE *, char) --> int (*put)(char, FILE *)
   It would allow to leave the asm program 'put' without changes.

But only these. ;-)

For C programs, they'd yield a compile-time error due to the different
function prototypes.

Unix is putc(char, FILE*) so I think the put() function in avr-libc should be same.

--
David Kelly N4HHE, address@hidden
========================================================================
Whom computers would destroy, they must first drive mad.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]