mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06:00
Revert "Get rid of _t suffix"
In the very least, a change like this requires discussion on the list.
The naming convention is goofy and it causes a massive merge problem. Something
like this _must_ be presented on the list first so people can provide input
and cope with it.
This reverts commit 99a0949b72
.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
99a0949b72
commit
c227f0995e
316 changed files with 3332 additions and 3325 deletions
10
console.c
10
console.c
|
@ -110,12 +110,12 @@ typedef enum {
|
|||
GRAPHIC_CONSOLE,
|
||||
TEXT_CONSOLE,
|
||||
TEXT_CONSOLE_FIXED_SIZE
|
||||
} e_console_type;
|
||||
} console_type_t;
|
||||
|
||||
/* ??? This is mis-named.
|
||||
It is used for both text and graphical consoles. */
|
||||
struct TextConsole {
|
||||
e_console_type console_type;
|
||||
console_type_t console_type;
|
||||
DisplayState *ds;
|
||||
/* Graphic console state. */
|
||||
vga_hw_update_ptr hw_update;
|
||||
|
@ -183,7 +183,7 @@ void vga_hw_screen_dump(const char *filename)
|
|||
active_console = previous_active_console;
|
||||
}
|
||||
|
||||
void vga_hw_text_update(a_console_ch *chardata)
|
||||
void vga_hw_text_update(console_ch_t *chardata)
|
||||
{
|
||||
if (active_console && active_console->hw_text_update)
|
||||
active_console->hw_text_update(active_console->hw, chardata);
|
||||
|
@ -1197,7 +1197,7 @@ static void text_console_invalidate(void *opaque)
|
|||
console_refresh(s);
|
||||
}
|
||||
|
||||
static void text_console_update(void *opaque, a_console_ch *chardata)
|
||||
static void text_console_update(void *opaque, console_ch_t *chardata)
|
||||
{
|
||||
TextConsole *s = (TextConsole *) opaque;
|
||||
int i, j, src;
|
||||
|
@ -1236,7 +1236,7 @@ static TextConsole *get_graphic_console(DisplayState *ds)
|
|||
return NULL;
|
||||
}
|
||||
|
||||
static TextConsole *new_console(DisplayState *ds, e_console_type console_type)
|
||||
static TextConsole *new_console(DisplayState *ds, console_type_t console_type)
|
||||
{
|
||||
TextConsole *s;
|
||||
int i;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue