mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
clock: clear callback on unparent
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
a3057c52f4
commit
4cc055039f
3 changed files with 18 additions and 17 deletions
|
@ -141,14 +141,6 @@ Clock *clock_new(Object *parent, const char *name);
|
|||
void clock_set_callback(Clock *clk, ClockCallback *cb,
|
||||
void *opaque, unsigned int events);
|
||||
|
||||
/**
|
||||
* clock_clear_callback:
|
||||
* @clk: the clock to delete the callback from
|
||||
*
|
||||
* Unregister the callback registered with clock_set_callback.
|
||||
*/
|
||||
void clock_clear_callback(Clock *clk);
|
||||
|
||||
/**
|
||||
* clock_set_source:
|
||||
* @clk: the clock.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue