[libvirt] [PATCH] qemu: Rewrite LOOKUP_PTYS macro into a function
Eric Blake
eblake at redhat.com
Mon Apr 4 19:49:04 UTC 2011
On 04/04/2011 07:46 AM, Jiri Denemark wrote:
> The macro is huge and gives us nothing but headache when maintaining it.
> ---
> The reason for this patch is not that I'm going to modify anything in
> the code. It's that I was working in the area and noticed this huge
> macro.
>
> src/qemu/qemu_process.c | 102 ++++++++++++++++++++++++++++-------------------
> 1 files changed, 61 insertions(+), 41 deletions(-)
The diffstat hides the fact that this really is a code cleanup.
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/20110404/7831f5bc/attachment-0001.sig>
More information about the libvir-list
mailing list