diff options
| author | Richard Henderson | 2016-08-29 20:46:14 +0200 |
|---|---|---|
| committer | Paolo Bonzini | 2016-09-13 19:09:45 +0200 |
| commit | a1febc4950f2c6232c002f401d7cd409f6fa6a88 (patch) | |
| tree | 7ebdb3326826537aa8a343d2af3e345f7c84706f /include | |
| parent | cutils: Remove SPLAT macro (diff) | |
| download | qemu-a1febc4950f2c6232c002f401d7cd409f6fa6a88.tar.gz qemu-a1febc4950f2c6232c002f401d7cd409f6fa6a88.tar.xz qemu-a1febc4950f2c6232c002f401d7cd409f6fa6a88.zip | |
cutils: Export only buffer_is_zero
Since the two users don't make use of the returned offset,
beyond ensuring that the entire buffer is zero, consider the
can_use_buffer_find_nonzero_offset and buffer_find_nonzero_offset
functions internal.
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Richard Henderson <rth@twiddle.net>
Message-Id: <1472496380-19706-4-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 | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/qemu/cutils.h b/include/qemu/cutils.h index 3e4ea236f0..ca58577565 100644 --- a/include/qemu/cutils.h +++ b/include/qemu/cutils.h @@ -168,8 +168,6 @@ int64_t qemu_strtosz_suffix_unit(const char *nptr, char **end, /* used to print char* safely */ #define STR_OR_NULL(str) ((str) ? (str) : "null") -bool can_use_buffer_find_nonzero_offset(const void *buf, size_t len); -size_t buffer_find_nonzero_offset(const void *buf, size_t len); bool buffer_is_zero(const void *buf, size_t len); /* |
