]> xenbits.xensource.com Git - xen.git/commitdiff
xl: lift common_domname declaration to xl.h
authorWei Liu <wei.liu2@citrix.com>
Wed, 1 Mar 2017 10:24:54 +0000 (10:24 +0000)
committerWei Liu <wei.liu2@citrix.com>
Thu, 2 Mar 2017 13:41:07 +0000 (13:41 +0000)
No functional change.

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

index 65b89ce7177b84dea891cdd80a358adbf2eaa025..3869776395f7f56bcd6da00ccfff6d92260408e0 100644 (file)
@@ -210,6 +210,7 @@ int main_qemu_monitor_command(int argc, char **argv);
 
 void help(const char *command);
 
+extern const char *common_domname;
 extern struct cmd_spec cmd_table[];
 extern int cmdtable_len;
 /* Look up a command in the table, allowing unambiguous truncation */
index 28fb8230b67df490393f6f2f783b9362d9c01f96..065bd66aea28d2670609d6dff2c634b10e1e9e2f 100644 (file)
@@ -30,8 +30,6 @@
 #include "xl_utils.h"
 #include "xl_parse.h"
 
-extern const char *common_domname;
-
 #ifndef LIBXL_HAVE_NO_SUSPEND_RESUME
 
 static pid_t create_migration_child(const char *rune, int *send_fd,
index 70fcc3026bf22a634be338a9d91bc5d32b2029ea..9037e2b2f044ebc45083bc572990eaac4f2e5305 100644 (file)
@@ -23,8 +23,6 @@
 #include "xl_utils.h"
 #include "xl_parse.h"
 
-extern const char *common_domname;
-
 static void button_press(uint32_t domid, const char *b)
 {
     libxl_trigger trigger;
index 481b7bb50faa3209b0015e1cdde2a3a8a24abb88..f79f08029f24db33501037efc8de3bf4a16c1f01 100644 (file)
@@ -28,7 +28,6 @@
 #include "xl_utils.h"
 
 extern int logfile;
-extern const char *common_domname;
 
 void dolog(const char *file, int line, const char *func, char *fmt, ...)
 {
index a3f27ad786078110dfdafc355dafd9bddcc025db..81a9af7705a1d8040603c5a44e19964a113a42b7 100644 (file)
@@ -31,7 +31,6 @@
 #include "xl_parse.h"
 
 extern int logfile;
-extern const char *common_domname;
 
 static int fd_lock = -1;