|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH 5/5] xl: lift logfile declaration to xl.h
No functional change.
Signed-off-by: Wei Liu <wei.liu2@xxxxxxxxxx>
---
tools/xl/xl.h | 1 +
tools/xl/xl_utils.c | 2 --
tools/xl/xl_vmcontrol.c | 2 --
3 files changed, 1 insertion(+), 4 deletions(-)
diff --git a/tools/xl/xl.h b/tools/xl/xl.h
index 3869776395..1ad07261f2 100644
--- a/tools/xl/xl.h
+++ b/tools/xl/xl.h
@@ -218,6 +218,7 @@ struct cmd_spec *cmdtable_lookup(const char *s);
extern libxl_ctx *ctx;
extern xentoollog_logger_stdiostream *logger;
+extern int logfile;
void xl_ctx_alloc(void);
diff --git a/tools/xl/xl_utils.c b/tools/xl/xl_utils.c
index f79f08029f..4503ac7ea0 100644
--- a/tools/xl/xl_utils.c
+++ b/tools/xl/xl_utils.c
@@ -27,8 +27,6 @@
#include "xl.h"
#include "xl_utils.h"
-extern int logfile;
-
void dolog(const char *file, int line, const char *func, char *fmt, ...)
{
va_list ap;
diff --git a/tools/xl/xl_vmcontrol.c b/tools/xl/xl_vmcontrol.c
index 81a9af7705..0ad6e0bcbb 100644
--- a/tools/xl/xl_vmcontrol.c
+++ b/tools/xl/xl_vmcontrol.c
@@ -30,8 +30,6 @@
#include "xl_utils.h"
#include "xl_parse.h"
-extern int logfile;
-
static int fd_lock = -1;
static void pause_domain(uint32_t domid)
--
2.11.0
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |