kernel: don't use typedef for enums or non-opaque structs

This commit is contained in:
2023-04-12 20:17:11 +01:00
parent 0d75e347e9
commit b6f8c1ccaa
51 changed files with 663 additions and 665 deletions

View File

@@ -7,7 +7,7 @@
#define LOG_BUFFER_SIZE 0x40000
#define LOG_MSG_SIZE 0x100
static console_t *early_console = NULL;
static struct console *early_console = NULL;
static spin_lock_t log_buffer_lock = SPIN_LOCK_INIT;
@@ -46,7 +46,7 @@ static void save_log_message(const char *msg)
}
}
void early_printk_init(console_t *con)
void early_printk_init(struct console *con)
{
early_console = con;
}