aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Berrangé <berrange@redhat.com>2022-04-28 12:38:46 +0100
committerGitHub <noreply@github.com>2022-04-28 12:38:46 +0100
commit418f58bfc8c23ebcf0deb3bb85967587fa51acf7 (patch)
tree37a7e29f0eba68c9b865961586eb6718fb1f3f92 /lib
parent4ba8cde7c5417cfb11e1fc5d1d188f6a4f9a35d5 (diff)
downloadlibvfio-user-418f58bfc8c23ebcf0deb3bb85967587fa51acf7.zip
libvfio-user-418f58bfc8c23ebcf0deb3bb85967587fa51acf7.tar.gz
libvfio-user-418f58bfc8c23ebcf0deb3bb85967587fa51acf7.tar.bz2
lib: export dma_sg_size symbol in library (#664)
The dma_sg_size() method is listed in libvfio-user.h but the symbol is marked private in the ELF library. Signed-off-by: Daniel P. Berrangé <berrange@redhat.com> Reviewed-by: John Levon <john.levon@nutanix.com> Reviewed-by: Thanos Makatos <thanos.makatos@nutanix.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/dma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/dma.c b/lib/dma.c
index 3eb23f9..2ba331f 100644
--- a/lib/dma.c
+++ b/lib/dma.c
@@ -44,7 +44,7 @@
#include "dma.h"
#include "private.h"
-size_t
+EXPORT size_t
dma_sg_size(void)
{
return sizeof(dma_sg_t);