From d96eaab5cc9a89bbd40df74429b1898b7fea8c6d Mon Sep 17 00:00:00 2001 From: Justin Ethier Date: Thu, 4 Jun 2020 22:11:50 -0400 Subject: [PATCH] Issue #388 - Prevent gcc 10.1 build errors --- include/cyclone/runtime.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/cyclone/runtime.h b/include/cyclone/runtime.h index 3916e72d..da68fcd0 100644 --- a/include/cyclone/runtime.h +++ b/include/cyclone/runtime.h @@ -534,8 +534,8 @@ object Cyc_string2utf8(void *data, object cont, object str, object start, * @brief Functions for interacting with the system */ /**@{*/ -int _cyc_argc; -char **_cyc_argv; +extern int _cyc_argc; +extern char **_cyc_argv; object Cyc_installation_dir(void *data, object cont, object type); object Cyc_compilation_environment(void *data, object cont, object var); object Cyc_command_line_arguments(void *data, object cont);