diff options
author | Richard Henderson <rth@twiddle.net> | 2016-08-29 11:46:16 -0700 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2016-09-13 19:13:32 +0200 |
commit | efad6682452ec85a898609c885c2721ea12585db (patch) | |
tree | b599172e3a086abf695d24bee825faab80d29926 /include | |
parent | 43ff5e01ecba41628f68eb3c62fd49e0405fcca9 (diff) | |
download | qemu-efad6682452ec85a898609c885c2721ea12585db.tar.gz qemu-efad6682452ec85a898609c885c2721ea12585db.tar.bz2 qemu-efad6682452ec85a898609c885c2721ea12585db.zip |
cutils: Add test for buffer_is_zero
Signed-off-by: Richard Henderson <rth@twiddle.net>
Message-Id: <1472496380-19706-6-git-send-email-rth@twiddle.net>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/qemu/cutils.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/qemu/cutils.h b/include/qemu/cutils.h index ca58577565..8033929139 100644 --- a/include/qemu/cutils.h +++ b/include/qemu/cutils.h @@ -169,6 +169,7 @@ int64_t qemu_strtosz_suffix_unit(const char *nptr, char **end, #define STR_OR_NULL(str) ((str) ? (str) : "null") bool buffer_is_zero(const void *buf, size_t len); +bool test_buffer_is_zero_next_accel(void); /* * Implementation of ULEB128 (http://en.wikipedia.org/wiki/LEB128) |