[libvirt] [PATCH v2 03/15] test: turn 'defaultConn' into a pointer

Peter Krempa pkrempa at redhat.com
Wed Jun 24 14:38:59 UTC 2015


On Wed, Jun 24, 2015 at 16:33:37 +0200, Pavel Hrdina wrote:
> On Wed, Jun 24, 2015 at 04:11:45PM +0200, Peter Krempa wrote:
> > ---
> >  src/test/test_driver.c | 46 ++++++++++++++++++++++++++++------------------
> >  1 file changed, 28 insertions(+), 18 deletions(-)
> > 
> > diff --git a/src/test/test_driver.c b/src/test/test_driver.c
> > index 8d2bb5b..ff383c6 100644
> > --- a/src/test/test_driver.c
> > +++ b/src/test/test_driver.c
> > @@ -117,7 +117,7 @@ struct _testDriver {
> >  typedef struct _testDriver testDriver;
> >  typedef testDriver *testDriverPtr;
> > 
> > -static testDriver defaultConn;
> > +static testDriverPtr defaultConn;
> 
> The variable could be also renamed to defaultDrv.

Patches are welcome ;)

Peter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20150624/05af56ec/attachment-0001.sig>


More information about the libvir-list mailing list