fix some extern I forgot, causing duplicate symbol error at runtime on some systems

This commit is contained in:
UnknownShadow200 2019-02-14 22:29:30 +11:00
parent 979998fa8c
commit 56a4664f22
2 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ struct PickedPos;
struct Camera;
/* Shared data for cameras. */
struct _CameraData {
extern struct _CameraData {
/* How sensitive camera is to movements of mouse. */
int Sensitivity;
/* Whether smooth/cinematic camera mode is used. */

View File

@ -175,7 +175,7 @@ CC_VAR extern struct _WindowEventsList {
struct Event_Void StateChanged; /* WindowState of the window changed */
} WindowEvents;
CC_VAR struct _KeyEventsList {
CC_VAR extern struct _KeyEventsList {
struct Event_Int Press; /* Raised when a character is typed. Arg is a character */
struct Event_Input Down; /* Raised when a key is pressed. Arg is a member of Key enumeration */
struct Event_Int Up; /* Raised when a key is released. Arg is a member of Key enumeration */