Skip to content

Commit

Permalink
ui/console: make qemu_console_is_multihead() static
Browse files Browse the repository at this point in the history
qemu_console_is_multihead() is only called from within "ui/console.c";
make it static.

Cc: "Marc-André Lureau" <marcandre.lureau@redhat.com> (odd fixer:Graphics)
Cc: Gerd Hoffmann <kraxel@redhat.com> (odd fixer:Graphics)
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-ID: <20230913144959.41891-2-lersek@redhat.com>
  • Loading branch information
lersek authored and elmarco committed Oct 3, 2023
1 parent 0337e41 commit 845fff1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion include/ui/console.h
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,6 @@ bool qemu_console_is_visible(QemuConsole *con);
bool qemu_console_is_graphic(QemuConsole *con);
bool qemu_console_is_fixedsize(QemuConsole *con);
bool qemu_console_is_gl_blocked(QemuConsole *con);
bool qemu_console_is_multihead(DeviceState *dev);
char *qemu_console_get_label(QemuConsole *con);
int qemu_console_get_index(QemuConsole *con);
uint32_t qemu_console_get_head(QemuConsole *con);
Expand Down
2 changes: 1 addition & 1 deletion ui/console.c
Original file line number Diff line number Diff line change
Expand Up @@ -1434,7 +1434,7 @@ bool qemu_console_is_gl_blocked(QemuConsole *con)
return con->gl_block;
}

bool qemu_console_is_multihead(DeviceState *dev)
static bool qemu_console_is_multihead(DeviceState *dev)
{
QemuConsole *con;
Object *obj;
Expand Down

0 comments on commit 845fff1

Please sign in to comment.