summaryrefslogtreecommitdiff
path: root/ports/cxd56
diff options
context:
space:
mode:
authorScott Shawcroft <scott@tannewt.org>2020-08-03 16:40:45 -0700
committerJeff Epler <jepler@gmail.com>2020-08-21 14:39:37 -0500
commit644d2ba7a2075c44306583fada847047a7a44d5d (patch)
tree662b893a81b56c4e86522427e3372ff8684effa6 /ports/cxd56
parent5771be9510be87c72a58cdf3f70ff3744d8ec169 (diff)
Add more "extern" declarations for gcc10 compat
gcc has tightened the restrictions on forward declarations that lack "extern". Fix them up.
Diffstat (limited to 'ports/cxd56')
-rw-r--r--ports/cxd56/common-hal/microcontroller/Processor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/cxd56/common-hal/microcontroller/Processor.h b/ports/cxd56/common-hal/microcontroller/Processor.h
index 12555e82c..5d7ad5697 100644
--- a/ports/cxd56/common-hal/microcontroller/Processor.h
+++ b/ports/cxd56/common-hal/microcontroller/Processor.h
@@ -35,6 +35,6 @@ typedef struct {
mp_obj_base_t base;
} mcu_processor_obj_t;
-const mp_obj_type_t mcu_processor_type;
+extern const mp_obj_type_t mcu_processor_type;
#endif // MICROPY_INCLUDED_CXD56_COMMON_HAL_MICROCONTROLLER_PROCESSOR_H