From: Keith Packard Date: Fri, 17 Apr 2020 19:53:47 +0000 (-0700) Subject: ao-tools: Declare ao_verbose as extern in shared header. X-Git-Tag: 1.9.3~1^2~43 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=918865cca7297dde522e1886edf71b46d6ee2534 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 --- 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