[libvirt] [PATCH 2/3] util: XML: Avoid forward function declaration

Eric Blake eblake at redhat.com
Tue Jul 8 15:51:46 UTC 2014


On 07/08/2014 09:29 AM, Peter Krempa wrote:
> Recursive functions apparently don't need them, but I originally thought
> they do.
> ---
>  src/util/virxml.c | 5 -----
>  1 file changed, 5 deletions(-)

ACK.  When it comes to static functions, it's only mutually recursive
function pairs that need a forward declaration of at least one of the
two functions.

-- 
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: 604 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140708/f0c724a4/attachment-0001.sig>


More information about the libvir-list mailing list