projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altos: add noreturn attribute to ao_panic
[fw/altos]
/
src
/
kernel
/
ao.h
diff --git
a/src/kernel/ao.h
b/src/kernel/ao.h
index be663775e91fab86eb119d7690a67fb961c7e1ff..5df4903cdd0084c7a977ccb19c2ebb76d2587c01 100644
(file)
--- a/
src/kernel/ao.h
+++ b/
src/kernel/ao.h
@@
-86,7
+86,7
@@
typedef AO_PORT_TYPE ao_port_t;
/* Stop the operating system, beeping and blinking the reason */
void
/* 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
/*
* ao_romconfig.c