From 918865cca7297dde522e1886edf71b46d6ee2534 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Fri, 17 Apr 2020 12:53:47 -0700 Subject: [PATCH] ao-tools: Declare ao_verbose as extern in shared header. gcc-10 disables 'common' behavior by defaul, so we need to only define variables in one location now. Signed-off-by: Keith Packard --- ao-tools/lib/ao-verbose.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ao-tools/lib/ao-verbose.h b/ao-tools/lib/ao-verbose.h index d23e720c..79fbb0d9 100644 --- a/ao-tools/lib/ao-verbose.h +++ b/ao-tools/lib/ao-verbose.h @@ -22,7 +22,7 @@ #include #include -uint32_t ao_verbose; +extern uint32_t ao_verbose; #define AO_VERBOSE_EXE 1 #define AO_VERBOSE_SELF 2 -- 2.30.2