@@ -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 */
@@ -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,
@@ -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;
@@ -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, ...)
{
@@ -31,7 +31,6 @@
#include "xl_parse.h"
extern int logfile;
-extern const char *common_domname;
static int fd_lock = -1;
No functional change. Signed-off-by: Wei Liu <wei.liu2@citrix.com> --- tools/xl/xl.h | 1 + tools/xl/xl_migrate.c | 2 -- tools/xl/xl_misc.c | 2 -- tools/xl/xl_utils.c | 1 - tools/xl/xl_vmcontrol.c | 1 - 5 files changed, 1 insertion(+), 6 deletions(-)