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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Daniel P. Berrangé <berrange@xxxxxxxxxx>
---
 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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux