projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2acda2
)
ao-tools: Declare ao_verbose as extern in shared header.
author
Keith Packard
<keithp@keithp.com>
Fri, 17 Apr 2020 19:53:47 +0000
(12:53 -0700)
committer
Keith Packard
<keithp@keithp.com>
Fri, 17 Apr 2020 19:54:56 +0000
(12:54 -0700)
gcc-10 disables 'common' behavior by defaul, so we need to only define
variables in one location now.
Signed-off-by: Keith Packard <keithp@keithp.com>
ao-tools/lib/ao-verbose.h
patch
|
blob
|
history
diff --git
a/ao-tools/lib/ao-verbose.h
b/ao-tools/lib/ao-verbose.h
index d23e720cc8de1e73479579556f4afa1e696c73f8..79fbb0d953ae8e5d461483ef82a1f6c9926f512a 100644
(file)
--- a/
ao-tools/lib/ao-verbose.h
+++ b/
ao-tools/lib/ao-verbose.h
@@
-22,7
+22,7
@@
#include <stdint.h>
#include <stdarg.h>
-
uint32_t
ao_verbose;
+
extern uint32_t
ao_verbose;
#define AO_VERBOSE_EXE 1
#define AO_VERBOSE_SELF 2