[libvirt] [PATCH 5/5] json: export non-static functions

Peter Krempa pkrempa at redhat.com
Wed Apr 15 07:33:48 UTC 2015


On Mon, Apr 13, 2015 at 16:33:52 +0200, Martin Kletzander wrote:
> Two non-static functions in virjson.c were missing their export info in
> libvirt_private.syms, so they couldn't be used anywhere it the code (and
> that's about to get changed).

They both are used in the libvirt_leaseshelper program. But they are
linked in explicitly.

> 
> Signed-off-by: Martin Kletzander <mkletzan at redhat.com>
> ---
>  src/libvirt_private.syms | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/src/libvirt_private.syms b/src/libvirt_private.syms
> index 67ab526..d9497b5 100644
> --- a/src/libvirt_private.syms
> +++ b/src/libvirt_private.syms
> @@ -1569,6 +1569,7 @@ virISCSIScanTargets;
>  virJSONValueArrayAppend;
>  virJSONValueArrayGet;
>  virJSONValueArraySize;
> +virJSONValueArraySteal;
>  virJSONValueFree;
>  virJSONValueFromString;
>  virJSONValueGetArrayAsBitmap;
> @@ -1579,6 +1580,7 @@ virJSONValueGetNumberLong;
>  virJSONValueGetNumberUint;
>  virJSONValueGetNumberUlong;
>  virJSONValueGetString;
> +virJSONValueIsArray;
>  virJSONValueIsNull;
>  virJSONValueNewArray;
>  virJSONValueNewArrayFromBitmap;

ACK,

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/20150415/2e991a11/attachment-0001.sig>


More information about the libvir-list mailing list