aboutsummaryrefslogtreecommitdiff
path: root/lib/common.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/common.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/common.h')
-rw-r--r--lib/common.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/common.h b/lib/common.h
index 41bf343..e30bc2e 100644
--- a/lib/common.h
+++ b/lib/common.h
@@ -34,8 +34,8 @@
* Private utilities used by the library and sample/test code.
*/
-#ifndef __COMMON_H__
-#define __COMMON_H__
+#ifndef LIB_MUSER_COMMON_H
+#define LIB_MUSER_COMMON_H
#include <stdint.h>
@@ -55,6 +55,6 @@
#define ROUND_DOWN(x, a) ((x) & ~((a)-1))
#define ROUND_UP(x,a) ROUND_DOWN((x)+(a)-1, a)
-#endif /* __COMMON_H__ */
+#endif /* LIB_MUSER_COMMON_H */
/* ex: set tabstop=4 shiftwidth=4 softtabstop=4 expandtab: */