[Spice-devel] [PATCH 05/12] common: don't duplicate find_msb implementation

Christophe Fergeau cfergeau at redhat.com
Wed Apr 27 00:12:39 PDT 2011


On Fri, Apr 22, 2011 at 06:43:03PM +0200, Christophe Fergeau wrote:
> ---
>  common/bitops.h   |   89 +++++++++++++++++++++++++++++++++++++++++++++++++++++
>  common/gl_utils.h |   58 ++--------------------------------
>  common/quic.c     |   14 +-------
>  3 files changed, 94 insertions(+), 67 deletions(-)
>  create mode 100644 common/bitops.h
> 
> diff --git a/common/bitops.h b/common/bitops.h
> new file mode 100644

I forgot to add this new file to Makefile.am which breaks make distcheck

> diff --git a/common/gl_utils.h b/common/gl_utils.h
> index 175f131..5a761e0 100644
> --- a/common/gl_utils.h
> +++ b/common/gl_utils.h
> +#define find_msb spice_bit_find_msb
> +#define gl_get_to_power_to spice_bit_next_pow2

This should be gl_get_to_power_two

Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20110427/e0d43354/attachment.pgp>


More information about the Spice-devel mailing list