]> xenbits.xensource.com Git - xen.git/commitdiff
xl: remove declaration of ctx in c files
authorWei Liu <wei.liu2@citrix.com>
Wed, 1 Mar 2017 10:24:53 +0000 (10:24 +0000)
committerWei Liu <wei.liu2@citrix.com>
Thu, 2 Mar 2017 13:41:03 +0000 (13:41 +0000)
There is already one in xl.h.

No functional change.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/xl/xl_flask.c
tools/xl/xl_vmcontrol.c

index 804165c6a86ff6c1e4f6607dc7e67e5fe36cda74..523769750bfd11575759a67c0eeea27c228a740d 100644 (file)
@@ -23,8 +23,6 @@
 
 #include "xl.h"
 
-extern libxl_ctx *ctx;
-
 int main_getenforce(int argc, char **argv)
 {
     int ret;
index 9b9d55c481d7e5fcf1fcdf69f506c1d6000df327..a3f27ad786078110dfdafc355dafd9bddcc025db 100644 (file)
@@ -30,7 +30,6 @@
 #include "xl_utils.h"
 #include "xl_parse.h"
 
-extern libxl_ctx *ctx;
 extern int logfile;
 extern const char *common_domname;