diff options
Diffstat (limited to 'include/qemu/cutils.h')
-rw-r--r-- | include/qemu/cutils.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/qemu/cutils.h b/include/qemu/cutils.h index 986ed8e15f..320543950c 100644 --- a/include/qemu/cutils.h +++ b/include/qemu/cutils.h @@ -209,4 +209,9 @@ int qemu_pstrcmp0(const char **str1, const char **str2); */ char *get_relocated_path(const char *dir); +static inline const char *yes_no(bool b) +{ + return b ? "yes" : "no"; +} + #endif |