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

Peter Krempa pkrempa at redhat.com
Wed Jul 9 08:12:36 UTC 2014


On 07/08/14 17:51, Eric Blake wrote:
> 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.
> 

Pushed; Thanks.

Peter

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


More information about the libvir-list mailing list