Fix building against GCC 10

* GCC 10 defaults to `-fno-common`, which makes C behave
  more like C++ in that you can only ever have one definition
  of an object per executable.
This commit is contained in:
David Seifert 2020-02-26 13:24:17 +01:00
parent e8e2803a3d
commit 2f82fe897a
1 changed files with 1 additions and 1 deletions

2
rle.h
View File

@ -30,7 +30,7 @@ extern "C" {
*** 43+3 codec ***
******************/
const uint8_t rle_auxtab[8];
extern const uint8_t rle_auxtab[8];
#define RLE_MIN_SPACE 18
#define rle_nptr(block) ((uint16_t*)(block))