@@ -33,7 +33,7 @@ static size_t con_out;
static bool con_wrapped;
static struct con_ops *con_driver;
-struct lock con_lock = LOCK_UNLOCKED;
+static struct lock con_lock = LOCK_UNLOCKED;
/* This is mapped via TCEs so we keep it alone in a page */
struct memcons memcons __section(".data.memcons") = {
@@ -54,8 +54,6 @@ struct con_ops {
int64_t (*flush)(void);
};
-extern struct lock con_lock;
-
extern bool dummy_console_enabled(void);
extern void force_dummy_console(void);
extern bool flush_console(void);