altos/avr: Make ao_arch_critical argument be a statement
authorKeith Packard <keithp@keithp.com>
Tue, 11 Oct 2011 23:39:35 +0000 (17:39 -0600)
committerKeith Packard <keithp@keithp.com>
Tue, 11 Oct 2011 23:39:35 +0000 (17:39 -0600)
commit0a186e92c5773c5d908e9cee889d645a8172dcdc
tree09f2644b5774d879b615ba4c9228db0a45b4e9a9
parentf3453068b0feb640b9d11dbeb021c535ce8b4a31
altos/avr: Make ao_arch_critical argument be a statement

Wrap the argument to ao_arch_critical in do { } while (0); to make
sure it gets correctly checked as a statement.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/avr/ao_arch.h