aboutsummaryrefslogtreecommitdiff
path: root/lib/dma.h
diff options
context:
space:
mode:
authorJohn Levon <john.levon@nutanix.com>2020-11-24 15:22:18 +0000
committerGitHub <noreply@github.com>2020-11-24 15:22:18 +0000
commitd33f124c5b0335c0525187e820c6b42be0bae743 (patch)
tree365d4e92589e1f34f7665b00a0c68761129a6d80 /lib/dma.h
parentee9c3d1860bc81ebd43862d502ef2f9f71e6c299 (diff)
downloadlibvfio-user-d33f124c5b0335c0525187e820c6b42be0bae743.zip
libvfio-user-d33f124c5b0335c0525187e820c6b42be0bae743.tar.gz
libvfio-user-d33f124c5b0335c0525187e820c6b42be0bae743.tar.bz2
clean up headers
Introduce include/ dir for public headers, and clean up include guards etc.
Diffstat (limited to 'lib/dma.h')
-rw-r--r--lib/dma.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/dma.h b/lib/dma.h
index 987d8ba..3e2aaf2 100644
--- a/lib/dma.h
+++ b/lib/dma.h
@@ -28,8 +28,8 @@
*
*/
-#ifndef DMA_DMA_H
-#define DMA_DMA_H
+#ifndef LIB_MUSER_DMA_H
+#define LIB_MUSER_DMA_H
/*
* FIXME check whether DMA regions must be page aligned. If so then the
@@ -324,6 +324,6 @@ bool
dma_controller_region_valid(dma_controller_t *dma, dma_addr_t dma_addr,
size_t size);
-#endif /* DMA_DMA_H */
+#endif /* LIB_MUSER_DMA_H */
/* ex: set tabstop=4 shiftwidth=4 softtabstop=4 expandtab: */