OSDN Git Service

hw/char/serial: Remove SerialState from "qemu/typedefs.h"
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Fri, 11 Jan 2019 14:08:50 +0000 (15:08 +0100)
committerThomas Huth <thuth@redhat.com>
Tue, 22 Jan 2019 04:14:33 +0000 (05:14 +0100)
commit1451b4044328230d3a10fb05907624b10ad6679e
tree7f117901894fd2ee94260b0882d44deff403ac59
parentbc8c49d34d280407d7cd5ee1445d4b5772ef3b4c
hw/char/serial: Remove SerialState from "qemu/typedefs.h"

Files requiring SerialState already include "hw/char/serial.h".

To clean "qemu/typedefs.h", move the declaration to "hw/char/serial.h"
(removing the forward declaration).

Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
include/hw/char/serial.h
include/qemu/typedefs.h