|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen master] xl: lift logfile declaration to xl.h
commit 098dedd9316597f813773740f6a2ada89b7a36e4
Author: Wei Liu <wei.liu2@xxxxxxxxxx>
AuthorDate: Wed Mar 1 10:24:55 2017 +0000
Commit: Wei Liu <wei.liu2@xxxxxxxxxx>
CommitDate: Thu Mar 2 13:41:10 2017 +0000
xl: lift logfile declaration to xl.h
No functional change.
Signed-off-by: Wei Liu <wei.liu2@xxxxxxxxxx>
Acked-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
---
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 3869776..1ad0726 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 f79f080..4503ac7 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 81a9af7..0ad6e0b 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)
--
generated by git-patchbot for /home/xen/git/xen.git#master
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
https://lists.xenproject.org/xen-changelog
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |