[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-libc-dev] [Patch] Generalize wdt.h by removing hardcoded device
Re: [avr-libc-dev] [Patch] Generalize wdt.h by removing hardcoded device names
Sun, 12 Oct 2014 21:22:58 +0200
As Georg-Johann Lay wrote:
> "always_inline" is not C-Standard, better use __always_inline__.
> > +static inline
> > +__attribute__ ((always_inline))
> > +void wdt_disable (void)
Thanks for mentioning it. I wanted to tell it, too, but eventually
forgot about it.
Likewise, "inline" itself would better be written as "__inline__", in
case someone wants to use -std=c89.
cheers, Joerg .-.-. --... ...-- -.. . DL8DTL
Never trust an operating system you don't have sources for. ;-)