[libvirt] [PATCH v2 1/9] virsh: C99 style for info_domfstrim and opts_lxc_enter_namespace

Eric Blake eblake at redhat.com
Tue Aug 20 20:31:49 UTC 2013


On 08/20/2013 02:02 PM, Tomas Meszaros wrote:
> Change info_domfstrim and opts_lxc_enter_namespace initialization style
> to C99.
> ---
>  tools/virsh-domain.c | 21 ++++++++++++++++-----
>  1 file changed, 16 insertions(+), 5 deletions(-)

ACK.  I wonder if it is worth adding a 'make syntax-check' test that
enforces this style within virsh files, but don't have a good suggestion
for a foolproof regex that would detect C89 initialization.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

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


More information about the libvir-list mailing list