From 4fccabd545bf860535b1423592ca92dca1952bf9 Mon Sep 17 00:00:00 2001 From: Hanspeter Portner Date: Tue, 20 Jul 2021 23:59:13 +0200 Subject: [PATCH] fix compilation with gcc-11. --- VERSION | 2 +- include/config.h | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/VERSION b/VERSION index a803cc2..e815b86 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.14.0 +0.15.1 diff --git a/include/config.h b/include/config.h index 965ca55..68bcab1 100644 --- a/include/config.h +++ b/include/config.h @@ -213,8 +213,8 @@ uint_fast8_t config_check_uint16(const char *path, const char *fmt, uint_fast8_t uint_fast8_t config_check_bool(const char *path, const char *fmt, uint_fast8_t argc, osc_data_t *buf, uint8_t *boolean); uint_fast8_t config_check_float(const char *path, const char *fmt, uint_fast8_t argc, osc_data_t *buf, float *val); -const OSC_Query_Argument config_boolean_args [1]; -const OSC_Query_Argument config_mode_args [1]; -const OSC_Query_Argument config_address_args [1]; +extern const OSC_Query_Argument config_boolean_args [1]; +extern const OSC_Query_Argument config_mode_args [1]; +extern const OSC_Query_Argument config_address_args [1]; #endif // _CONFIG_H_ -- 2.38.5