Work-around for an issue which cropped up with the release of gcc-10. In their
authorJohn Tsiombikas <nuclear@member.fsf.org>
Fri, 21 Feb 2020 22:25:31 +0000 (22:25 +0000)
committerJohn Tsiombikas <nuclear@member.fsf.org>
Fri, 21 Feb 2020 22:25:31 +0000 (22:25 +0000)
commit412dc0b70402bb4e974287672335c1b6b7758b77
tree28211d5f1fd49d62f1f6eb1206917a3278bafe83
parente3d3eebedb405a5a4bcfe0fffa95928a6a487abd
Work-around for an issue which cropped up with the release of gcc-10. In their
infinite wisdom, they decided to build with -fno-common as default from now on,
breaking every piece of C code which used to declare common symbols in header
files, as was the convention since the dawn of time. We now have to duplicate
all declarations to an arbitrary source file, and change the header-file ones
to prefix them with extern.

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@1863 7f0cb862-5218-0410-a997-914c9d46530a
src/fg_gl2.c
src/fg_gl2.h