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

[Xen-devel] [PATCH 3/5] xl: remove declaration of ctx in c files



There is already one in xl.h.

No functional change.

Signed-off-by: Wei Liu <wei.liu2@xxxxxxxxxx>
---
 tools/xl/xl_flask.c     | 2 --
 tools/xl/xl_vmcontrol.c | 1 -
 2 files changed, 3 deletions(-)

diff --git a/tools/xl/xl_flask.c b/tools/xl/xl_flask.c
index 804165c6a8..523769750b 100644
--- a/tools/xl/xl_flask.c
+++ b/tools/xl/xl_flask.c
@@ -23,8 +23,6 @@
 
 #include "xl.h"
 
-extern libxl_ctx *ctx;
-
 int main_getenforce(int argc, char **argv)
 {
     int ret;
diff --git a/tools/xl/xl_vmcontrol.c b/tools/xl/xl_vmcontrol.c
index 9b9d55c481..a3f27ad786 100644
--- a/tools/xl/xl_vmcontrol.c
+++ b/tools/xl/xl_vmcontrol.c
@@ -30,7 +30,6 @@
 #include "xl_utils.h"
 #include "xl_parse.h"
 
-extern libxl_ctx *ctx;
 extern int logfile;
 extern const char *common_domname;
 
-- 
2.11.0


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.