X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=qobject%2Fqnull.c;h=00870a1824a2100b404beee94dd58938e0aeb721;hb=4b49b586c452f1df393f2d8ffdfb1516857801d2;hp=bc9fd3162616a65df79489e0cf393967a1f5e3c1;hpb=84be629d5545b5ccc5bff2824e4288677e27de9c;p=mirror_qemu.git diff --git a/qobject/qnull.c b/qobject/qnull.c index bc9fd31626..00870a1824 100644 --- a/qobject/qnull.c +++ b/qobject/qnull.c @@ -11,7 +11,6 @@ */ #include "qemu/osdep.h" -#include "qemu-common.h" #include "qapi/qmp/qnull.h" QNull qnull_ = { @@ -20,3 +19,12 @@ QNull qnull_ = { .refcnt = 1, }, }; + +/** + * qnull_is_equal(): Always return true because any two QNull objects + * are equal. + */ +bool qnull_is_equal(const QObject *x, const QObject *y) +{ + return true; +}