From 69289f6d469dc929fd50990b7ecad2c621f89923 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Sun, 18 Apr 1999 09:25:27 +0000 Subject: [PATCH] Only declare console "driver" once, use external refs elsewhere. --- console/interface.c | 2 ++ include/console.h | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/console/interface.c b/console/interface.c index 515d9cccebd..80bc1a872cf 100644 --- a/console/interface.c +++ b/console/interface.c @@ -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; diff --git a/include/console.h b/include/console.h index 49582f1b485..c84f411f3dc 100644 --- a/include/console.h +++ b/include/console.h @@ -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);