[libvirt] [PATCH v4 2/8] vircgroupmock: Adapt to virmock.h

Peter Krempa pkrempa at redhat.com
Fri May 13 16:14:42 UTC 2016


On Fri, May 13, 2016 at 14:32:03 +0200, Michal Privoznik wrote:
> Instead of introducing our own wrapper for dlsym()
> we can use the one provided by virmock.h.
> 
> Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
> ---
>  tests/vircgroupmock.c | 83 +++++++++++++++++++--------------------------------
>  1 file changed, 31 insertions(+), 52 deletions(-)
> 
> diff --git a/tests/vircgroupmock.c b/tests/vircgroupmock.c
> index cfc51e8..10fe24d 100644
> --- a/tests/vircgroupmock.c
> +++ b/tests/vircgroupmock.c
> @@ -21,11 +21,7 @@
>  #include <config.h>
>  
>  #ifdef __linux__
> -# include "internal.h"
> -
> -# include <stdio.h>
> -# include <dlfcn.h>
> -# include <stdlib.h>
> +# include "virmock.h"

Same comment as in previous patch.

ACK
-------------- 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/20160513/eda09de4/attachment-0001.sig>


More information about the libvir-list mailing list