[libvirt] [PATCH] sysinfo: simplify function signature

Eric Blake eblake at redhat.com
Wed Feb 8 22:38:31 UTC 2012

On 02/08/2012 12:30 AM, Osier Yang wrote:
> On 2012年02月08日 06:36, Eric Blake wrote:
>> Now that no one is relying on the return value being a pointer to
>> somewhere inside of the passed-in argument, we can simplify the
>> callers to simply return success or failure.  Also wrap some long
>> lines and add some const-correctness.
>> * src/util/sysinfo.c (virSysinfoParseBIOS, virSysinfoParseSystem)
>> (virSysinfoParseProcessor, virSysinfoParseMemory): Change return.
>> (virSysinfoRead): Adjust caller.

Thanks; pushed.

Eric Blake   eblake at 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: 620 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20120208/390bcab0/attachment-0001.sig>

More information about the libvir-list mailing list