From 8e20f53dd3b33058508ff51bd19e49df19b06fb7 Mon Sep 17 00:00:00 2001 From: Josh Rahm Date: Mon, 15 Jan 2018 14:46:12 -0700 Subject: reorganize sources into src and include directories. --- system-clock/include/common.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 system-clock/include/common.h (limited to 'system-clock/include/common.h') diff --git a/system-clock/include/common.h b/system-clock/include/common.h new file mode 100644 index 0000000..f58f179 --- /dev/null +++ b/system-clock/include/common.h @@ -0,0 +1,13 @@ +#ifndef COMMON__H +#define COMMON__H + +/* Define __IO to be volatile if it's not already. */ +#ifndef __IO +#define __IO volatile +#endif + +#define bool int + +#define PACKED __attribute__((packed)) + +#endif /* COMMON_H */ -- cgit