Skip to content
Commit e4f91ee4 authored by Vincent Bernat's avatar Vincent Bernat Committed by Ondrej Zajicek (work)
Browse files

Unix: fix compilation with GCC 10

GCC 10 will now error when declaring a global variable twice:

  https://gcc.gnu.org/gcc-10/porting_to.html#common

Fix this issue by declaring the variable as `extern' in `krt.h'.
The variable is really declared in `krt.c'.
parent a3f03525
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment