From: Michal Privoznik <[email protected]> This function is going to be mocked soon. Annotate and export it.
Signed-off-by: Michal Privoznik <[email protected]> --- src/esx/esx_vi.h | 2 +- src/libvirt_esx.syms | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/esx/esx_vi.h b/src/esx/esx_vi.h index 854f3fc61a..a4ec0ab48c 100644 --- a/src/esx/esx_vi.h +++ b/src/esx/esx_vi.h @@ -413,7 +413,7 @@ int esxVI_LookupDatastoreByAbsolutePath(esxVI_Context *ctx, int esxVI_LookupDatastoreHostMount(esxVI_Context *ctx, esxVI_ManagedObjectReference *datastore, esxVI_DatastoreHostMount **hostMount, - esxVI_Occurrence occurrence); + esxVI_Occurrence occurrence) ATTRIBUTE_MOCKABLE; int esxVI_LookupTaskInfoByTask(esxVI_Context *ctx, esxVI_ManagedObjectReference *task, diff --git a/src/libvirt_esx.syms b/src/libvirt_esx.syms index 30883ab629..503a995aa5 100644 --- a/src/libvirt_esx.syms +++ b/src/libvirt_esx.syms @@ -12,6 +12,7 @@ esxUtil_ParseDatastorePath; # esx/esx_vi.h +esxVI_LookupDatastoreHostMount; esxVI_LookupDatastoreList; -- 2.51.0
