Fix build errors due new gcc 10 default for -fno-common

This commit is contained in:
Andrea Mazzoleni 2020-05-18 15:21:42 +02:00
parent 2f9e0e6fdd
commit 5bac3d64a6
9 changed files with 34 additions and 17 deletions

View file

@ -28,7 +28,7 @@
*
* It's not a constant for testing purpose.
*/
unsigned STREAM_SIZE;
extern unsigned STREAM_SIZE;
#define STREAM_STATE_READ 0 /**< The stream is in a normal state of read. */
#define STREAM_STATE_WRITE 1 /**< The stream is in a normal state of write. */