Only declare console "driver" once, use external refs elsewhere.
This commit is contained in:
parent
891479963e
commit
69289f6d46
|
@ -15,6 +15,8 @@
|
|||
#include "console.h"
|
||||
#include "options.h"
|
||||
|
||||
CONSOLE_device driver;
|
||||
|
||||
static int pop_driver(char **, char **, int *);
|
||||
|
||||
static int console_initialized = FALSE;
|
||||
|
|
|
@ -66,7 +66,7 @@ typedef struct CONSOLE_DRIVER
|
|||
|
||||
} CONSOLE_device;
|
||||
|
||||
CONSOLE_device driver; /* Global driver struct */
|
||||
extern CONSOLE_device driver; /* Global driver struct */
|
||||
|
||||
/* Generic defines */
|
||||
int CONSOLE_Init(char *drivers);
|
||||
|
|
Loading…
Reference in New Issue