diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2024-05-02 16:55:22 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2024-05-03 15:47:48 +0200 |
commit | 2d3f409631f087a7caa26d03c3b22fbcafc55cc8 (patch) | |
tree | 130c8770f2f5d9a8ce2fa9fc17896cb0fa277928 /include/net | |
parent | 6b30674dadc010d97bf5154d2ce417978e51f608 (diff) | |
download | qemu-2d3f409631f087a7caa26d03c3b22fbcafc55cc8.zip qemu-2d3f409631f087a7caa26d03c3b22fbcafc55cc8.tar.gz qemu-2d3f409631f087a7caa26d03c3b22fbcafc55cc8.tar.bz2 |
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>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/announce.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/announce.h b/include/net/announce.h index 3d90c83..72e7e50 100644 --- a/include/net/announce.h +++ b/include/net/announce.h @@ -12,12 +12,12 @@ #include "qapi/qapi-types-net.h" #include "qemu/timer.h" -struct AnnounceTimer { +typedef struct AnnounceTimer { QEMUTimer *tm; AnnounceParameters params; QEMUClockType type; int round; -}; +} AnnounceTimer; /* Returns: update the timer to the next time point */ int64_t qemu_announce_timer_step(AnnounceTimer *timer); |