[libvirt] [go PATCH 15/37] lxc: move wrapper functions out of compat header

Daniel P. Berrangé berrange at redhat.com
Mon Jul 16 13:24:01 UTC 2018


Signed-off-by: Daniel P. Berrangé <berrange at redhat.com>
---
 lxc.go                          | 2 +-
 lxc_compat.go => lxc_wrapper.go | 2 +-
 lxc_compat.h => lxc_wrapper.h   | 0
 3 files changed, 2 insertions(+), 2 deletions(-)
 rename lxc_compat.go => lxc_wrapper.go (98%)
 rename lxc_compat.h => lxc_wrapper.h (100%)

diff --git a/lxc.go b/lxc.go
index d121231..07ed7ff 100644
--- a/lxc.go
+++ b/lxc.go
@@ -38,7 +38,7 @@ package libvirt
 #include <libvirt/virterror.h>
 #include <stdlib.h>
 #include <string.h>
-#include "lxc_compat.h"
+#include "lxc_wrapper.h"
 */
 import "C"
 
diff --git a/lxc_compat.go b/lxc_wrapper.go
similarity index 98%
rename from lxc_compat.go
rename to lxc_wrapper.go
index cc4420c..4a49348 100644
--- a/lxc_compat.go
+++ b/lxc_wrapper.go
@@ -34,7 +34,7 @@ package libvirt
 #include <libvirt/libvirt.h>
 #include <libvirt/libvirt-lxc.h>
 #include <assert.h>
-#include "lxc_compat.h"
+#include "lxc_wrapper.h"
 
 int virDomainLxcEnterCGroupWrapper(virDomainPtr domain,
 				  unsigned int flags)
diff --git a/lxc_compat.h b/lxc_wrapper.h
similarity index 100%
rename from lxc_compat.h
rename to lxc_wrapper.h
-- 
2.17.1




More information about the libvir-list mailing list