From: Stefano Stabellini Date: Wed, 30 May 2012 07:57:52 +0000 (+0100) Subject: libxl: make libxl__e820_alloc a static function X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~8385 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=d74ca2863a63202e09fb147a039c9af5f810e468;p=xen.git libxl: make libxl__e820_alloc a static function Signed-off-by: Stefano Stabellini Acked-by: Ian Jackson Acked-by: Ian Campbell Committed-by: Ian Campbell --- diff --git a/tools/libxl/libxl_internal.h b/tools/libxl/libxl_internal.h index 06e682621b..0068b9b87f 100644 --- a/tools/libxl/libxl_internal.h +++ b/tools/libxl/libxl_internal.h @@ -1312,8 +1312,6 @@ struct libxl__xen_console_reader { _hidden int libxl__error_set(libxl__gc *gc, int code); -_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 e4c00aa907..590e39dc9a 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;