]> git.proxmox.com Git - mirror_qemu.git/blobdiff - tests/ptimer-test-stubs.c
qapi: Fix detection of doc / expression mismatch
[mirror_qemu.git] / tests / ptimer-test-stubs.c
index e028a81a29f225dd25d24f18edd602a02b5c0493..8a1b0a336cfafa1b42fbf044a03399f066193c3d 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * Stubs for the ptimer-test
  *
- * Author: Dmitry Osipenko <digetx@gmail.com>
+ * Copyright (c) 2016 Dmitry Osipenko <digetx@gmail.com>
  *
  * This work is licensed under the terms of the GNU GPL, version 2 or later.
  * See the COPYING file in the top-level directory.
@@ -108,6 +108,11 @@ QEMUBH *qemu_bh_new(QEMUBHFunc *cb, void *opaque)
     return bh;
 }
 
+void qemu_bh_delete(QEMUBH *bh)
+{
+    g_free(bh);
+}
+
 void replay_bh_schedule_event(QEMUBH *bh)
 {
     bh->cb(bh->opaque);