aboutsummaryrefslogtreecommitdiff
path: root/02-usart/include/common.h
diff options
context:
space:
mode:
Diffstat (limited to '02-usart/include/common.h')
-rw-r--r--02-usart/include/common.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/02-usart/include/common.h b/02-usart/include/common.h
index 8e0cb06..f9cbe06 100644
--- a/02-usart/include/common.h
+++ b/02-usart/include/common.h
@@ -5,6 +5,9 @@
#include <stddef.h>
#include <assert.h>
+#define WEAK __attribute__((weak))
+#define NORETURN __attribute__((noreturn))
+
#ifndef static_assert
#define static_assert(a, b)
#endif