[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-libc-dev] [Patch] Generalize wdt.h by removing hardcoded device
From: |
Joerg Wunsch |
Subject: |
Re: [avr-libc-dev] [Patch] Generalize wdt.h by removing hardcoded device names |
Date: |
Sun, 12 Oct 2014 21:22:58 +0200 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
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
http://www.sax.de/~joerg/
Never trust an operating system you don't have sources for. ;-)