summaryrefslogtreecommitdiff
path: root/shared-bindings/gnss/SatelliteSystem.h
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 /shared-bindings/gnss/SatelliteSystem.h
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 'shared-bindings/gnss/SatelliteSystem.h')
-rw-r--r--shared-bindings/gnss/SatelliteSystem.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared-bindings/gnss/SatelliteSystem.h b/shared-bindings/gnss/SatelliteSystem.h
index 17f155002..02cd17db2 100644
--- a/shared-bindings/gnss/SatelliteSystem.h
+++ b/shared-bindings/gnss/SatelliteSystem.h
@@ -16,7 +16,7 @@ typedef enum {
SATELLITESYSTEM_QZSS_L1S = (1U << 4),
} gnss_satellitesystem_t;
-const mp_obj_type_t gnss_satellitesystem_type;
+extern const mp_obj_type_t gnss_satellitesystem_type;
gnss_satellitesystem_t gnss_satellitesystem_obj_to_type(mp_obj_t obj);
mp_obj_t gnss_satellitesystem_type_to_obj(gnss_satellitesystem_t mode);