mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
net: remove AnnounceTimer from typedefs.h
Exactly nobody needs it there. Place the typedef in the header that defines the struct. Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
6b30674dad
commit
2d3f409631
2 changed files with 2 additions and 3 deletions
|
@ -12,12 +12,12 @@
|
||||||
#include "qapi/qapi-types-net.h"
|
#include "qapi/qapi-types-net.h"
|
||||||
#include "qemu/timer.h"
|
#include "qemu/timer.h"
|
||||||
|
|
||||||
struct AnnounceTimer {
|
typedef struct AnnounceTimer {
|
||||||
QEMUTimer *tm;
|
QEMUTimer *tm;
|
||||||
AnnounceParameters params;
|
AnnounceParameters params;
|
||||||
QEMUClockType type;
|
QEMUClockType type;
|
||||||
int round;
|
int round;
|
||||||
};
|
} AnnounceTimer;
|
||||||
|
|
||||||
/* Returns: update the timer to the next time point */
|
/* Returns: update the timer to the next time point */
|
||||||
int64_t qemu_announce_timer_step(AnnounceTimer *timer);
|
int64_t qemu_announce_timer_step(AnnounceTimer *timer);
|
||||||
|
|
|
@ -27,7 +27,6 @@ typedef struct AdapterInfo AdapterInfo;
|
||||||
typedef struct AddressSpace AddressSpace;
|
typedef struct AddressSpace AddressSpace;
|
||||||
typedef struct AioContext AioContext;
|
typedef struct AioContext AioContext;
|
||||||
typedef struct Aml Aml;
|
typedef struct Aml Aml;
|
||||||
typedef struct AnnounceTimer AnnounceTimer;
|
|
||||||
typedef struct ArchCPU ArchCPU;
|
typedef struct ArchCPU ArchCPU;
|
||||||
typedef struct BdrvDirtyBitmap BdrvDirtyBitmap;
|
typedef struct BdrvDirtyBitmap BdrvDirtyBitmap;
|
||||||
typedef struct BdrvDirtyBitmapIter BdrvDirtyBitmapIter;
|
typedef struct BdrvDirtyBitmapIter BdrvDirtyBitmapIter;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue