[libvirt] [PATCH v2 2/7] Move MIN macro to util.h so that others can use it

Eric Blake eblake at redhat.com
Tue Apr 20 17:26:00 UTC 2010


On 04/20/2010 06:42 AM, Jiri Denemark wrote:
> ---
>  src/util/util.c |    4 ----
>  src/util/util.h |    4 ++++
>  2 files changed, 4 insertions(+), 4 deletions(-)
> 

> +++ b/src/util/util.h
> @@ -32,6 +32,10 @@
>  # include <sys/select.h>
>  # include <sys/types.h>
>  
> +# ifndef MIN
> +#  define MIN(a, b) ((a) < (b) ? (a) : (b))
> +# endif

Still have my ACK.

-- 
Eric Blake   eblake at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20100420/a89b587f/attachment-0001.sig>


More information about the libvir-list mailing list