From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Stabellini Subject: [PATCH v7 8/8] libxl: make libxl__e820_alloc a static function Date: Tue, 29 May 2012 14:41:36 +0100 Message-ID: <1338298896-27411-8-git-send-email-stefano.stabellini@eu.citrix.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xensource.com Cc: david.vrabel@citrix.com, Ian.Campbell@citrix.com, Stefano Stabellini , Tim.Deegan@citrix.com List-Id: xen-devel@lists.xenproject.org Signed-off-by: Stefano Stabellini Acked-by: Ian Jackson Acked-by: Ian Campbell --- 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 ab */ 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