From: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
To: xen-devel@lists.xensource.com
Cc: david.vrabel@citrix.com, Ian.Campbell@citrix.com,
Stefano Stabellini <stefano.stabellini@eu.citrix.com>,
Tim.Deegan@citrix.com
Subject: [PATCH v7 8/8] libxl: make libxl__e820_alloc a static function
Date: Tue, 29 May 2012 14:41:36 +0100 [thread overview]
Message-ID: <1338298896-27411-8-git-send-email-stefano.stabellini@eu.citrix.com> (raw)
In-Reply-To: <alpine.DEB.2.00.1205281826060.26786@kaball-desktop>
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Acked-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
Acked-by: Ian Campbell <Ian.Campbell@citrix.com>
---
tools/libxl/libxl_internal.h | 2 --
tools/libxl/libxl_x86.c | 3 ++-
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/tools/libxl/libxl_internal.h b/tools/libxl/libxl_internal.h
index 52f5435..3da2c08 100644
--- a/tools/libxl/libxl_internal.h
+++ b/tools/libxl/libxl_internal.h
@@ -1276,8 +1276,6 @@ _hidden int libxl__error_set(libxl__gc *gc, int code);
_hidden int libxl__file_reference_map(libxl_file_reference *f);
_hidden int libxl__file_reference_unmap(libxl_file_reference *f);
-_hidden int libxl__e820_alloc(libxl__gc *gc, uint32_t domid, libxl_domain_config *d_config);
-
/* parse the string @s as a sequence of 6 colon separated bytes in to @mac */
_hidden int libxl__parse_mac(const char *s, libxl_mac mac);
/* compare mac address @a and @b. 0 if the same, -ve if a<b and +ve if a>b */
diff --git a/tools/libxl/libxl_x86.c b/tools/libxl/libxl_x86.c
index e4c00aa..590e39d 100644
--- a/tools/libxl/libxl_x86.c
+++ b/tools/libxl/libxl_x86.c
@@ -207,7 +207,8 @@ static int e820_sanitize(libxl_ctx *ctx, struct e820entry src[],
return 0;
}
-int libxl__e820_alloc(libxl__gc *gc, uint32_t domid, libxl_domain_config *d_config)
+static int libxl__e820_alloc(libxl__gc *gc, uint32_t domid,
+ libxl_domain_config *d_config)
{
libxl_ctx *ctx = libxl__gc_owner(gc);
int rc;
--
1.7.2.5
next prev parent reply other threads:[~2012-05-29 13:41 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-29 13:40 [PATCH v7 0/8] arm: compile tools Stefano Stabellini
2012-05-29 13:41 ` [PATCH v7 1/8] arm: compile libxenguest Stefano Stabellini
2012-05-29 13:41 ` [PATCH v7 2/8] arm: compile memshr Stefano Stabellini
2012-05-29 13:41 ` [PATCH v7 3/8] arm: compile xentrace Stefano Stabellini
2012-05-29 13:41 ` [PATCH v7 4/8] arm: compile libxl Stefano Stabellini
2012-05-30 7:55 ` Ian Campbell
2012-05-29 13:41 ` [PATCH v7 5/8] libxl: Introduce libxl__arch_domain_create Stefano Stabellini
2012-05-29 13:41 ` [PATCH v7 6/8] libxl: Introduce libxl__arch_domain_create (x86 version) Stefano Stabellini
2012-05-30 7:54 ` Ian Campbell
2012-05-29 13:41 ` [PATCH v7 7/8] libxl: move e820_names, e820_sanitize, libxl__e820_alloc to libxl_x86.c Stefano Stabellini
2012-05-29 13:41 ` Stefano Stabellini [this message]
2012-05-29 15:56 ` [PATCH v7 0/8] arm: compile tools Stefano Stabellini
2012-05-29 16:00 ` Ian Campbell
2012-05-29 16:04 ` Ian Jackson
2012-05-30 7:58 ` Ian Campbell
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=1338298896-27411-8-git-send-email-stefano.stabellini@eu.citrix.com \
--to=stefano.stabellini@eu.citrix.com \
--cc=Ian.Campbell@citrix.com \
--cc=Tim.Deegan@citrix.com \
--cc=david.vrabel@citrix.com \
--cc=xen-devel@lists.xensource.com \
/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).