altos: add noreturn attribute to ao_panic
[fw/altos] / src / kernel / ao.h
index be663775e91fab86eb119d7690a67fb961c7e1ff..5df4903cdd0084c7a977ccb19c2ebb76d2587c01 100644 (file)
@@ -86,7 +86,7 @@ typedef AO_PORT_TYPE ao_port_t;
 
 /* Stop the operating system, beeping and blinking the reason */
 void
-ao_panic(uint8_t reason);
+ao_panic(uint8_t reason) __attribute__((noreturn));
 
 /*
  * ao_romconfig.c