[Libvir] [PATCH] Clean up global name space in examples and tests.

Richard W.M. Jones rjones at redhat.com
Mon Jan 14 12:33:05 UTC 2008


Jim Meyering wrote:
> These don't really matter, other than to remove false-positives
> if/when we ever automate checks for unnecessarily-global symbols.
> 
> 	Clean up global name space in examples and tests.
> 	* docs/examples/suspend.c: Declare global "conn" to be static.
> 	* tests/qemuxml2argvtest.c: Declare global "driver" to be static.
> 	* tests/qemuxml2xmltest.c: Likewise.

+1.

Rich.

-- 
Emerging Technologies, Red Hat - http://et.redhat.com/~rjones/
Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod
Street, Windsor, Berkshire, SL4 1TE, United Kingdom.  Registered in
England and Wales under Company Registration No. 03798903
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3237 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20080114/4849fc1d/attachment-0001.bin>


More information about the libvir-list mailing list