Only declare console "driver" once, use external refs elsewhere.

This commit is contained in:
Marcus Meissner 1999-04-18 09:25:27 +00:00 committed by Alexandre Julliard
parent 891479963e
commit 69289f6d46
2 changed files with 3 additions and 1 deletions

View File

@ -15,6 +15,8 @@
#include "console.h" #include "console.h"
#include "options.h" #include "options.h"
CONSOLE_device driver;
static int pop_driver(char **, char **, int *); static int pop_driver(char **, char **, int *);
static int console_initialized = FALSE; static int console_initialized = FALSE;

View File

@ -66,7 +66,7 @@ typedef struct CONSOLE_DRIVER
} CONSOLE_device; } CONSOLE_device;
CONSOLE_device driver; /* Global driver struct */ extern CONSOLE_device driver; /* Global driver struct */
/* Generic defines */ /* Generic defines */
int CONSOLE_Init(char *drivers); int CONSOLE_Init(char *drivers);