From: Wei Liu <wei.liu2@citrix.com>
To: Xen-devel <xen-devel@lists.xenproject.org>
Cc: Wei Liu <wei.liu2@citrix.com>, Ian Jackson <Ian.Jackson@eu.citrix.com>
Subject: [PATCH 5/5] xl: lift logfile declaration to xl.h
Date: Wed, 1 Mar 2017 10:24:55 +0000 [thread overview]
Message-ID: <20170301102455.2224-6-wei.liu2@citrix.com> (raw)
In-Reply-To: <20170301102455.2224-1-wei.liu2@citrix.com>
No functional change.
Signed-off-by: Wei Liu <wei.liu2@citrix.com>
---
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@lists.xen.org
https://lists.xen.org/xen-devel
next prev parent reply other threads:[~2017-03-01 10:25 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-01 10:24 [PATCH 0/5] xl cleanup and docs Wei Liu
2017-03-01 10:24 ` [PATCH 1/5] CONTRIBUTING: list xl in inbound license section Wei Liu
2017-03-01 10:24 ` [PATCH 2/5] xl: add CODING_STYLE Wei Liu
2017-03-01 10:24 ` [PATCH 3/5] xl: remove declaration of ctx in c files Wei Liu
2017-03-01 10:24 ` [PATCH 4/5] xl: lift common_domname declaration to xl.h Wei Liu
2017-03-01 10:24 ` Wei Liu [this message]
2017-03-02 12:56 ` [PATCH 0/5] xl cleanup and docs Ian Jackson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170301102455.2224-6-wei.liu2@citrix.com \
--to=wei.liu2@citrix.com \
--cc=Ian.Jackson@eu.citrix.com \
--cc=xen-devel@lists.xenproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).