[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen master] stubdom: Fix stubdom undeclared function build warnings
commit 10f6b65545579fcac65d783156db7a70eeca2550 Author: Samuel Thibault <samuel.thibault@xxxxxxxxxxxx> AuthorDate: Mon Jul 29 11:18:10 2013 +0200 Commit: Ian Campbell <ian.campbell@xxxxxxxxxx> CommitDate: Fri Aug 2 15:37:26 2013 +0100 stubdom: Fix stubdom undeclared function build warnings This includes a few headers to fix some missing function declarations. ../grub-upstream/stage2/builtins.c:1728:3: warning: implicit declaration of function â??do_exitâ?? [-Wimplicit-function-declaration] stubdom/include/xen/libelf/libelf.h:453:5: warning: implicit declaration of function â??memcpyâ?? [-Wimplicit-function-declaration] Reported-by: IAN DELANEY <della5@xxxxxxxxxxxx> Signed-off-by: Samuel Thibault <samuel.thibault@xxxxxxxxxxxx> Acked-by: Ian Campbell <ian.campbell@xxxxxxxxxx> --- stubdom/grub/config.h | 1 + xen/include/xen/libelf.h | 2 ++ 2 files changed, 3 insertions(+), 0 deletions(-) diff --git a/stubdom/grub/config.h b/stubdom/grub/config.h index 1649d51..15a6583 100644 --- a/stubdom/grub/config.h +++ b/stubdom/grub/config.h @@ -2,6 +2,7 @@ #undef putchar #include <ctype.h> #include <string.h> +#include <kernel.h> #define debug _debug #define grub_halt(a) do_exit() #define printf grub_printf diff --git a/xen/include/xen/libelf.h b/xen/include/xen/libelf.h index 2a6fa54..e65db6d 100644 --- a/xen/include/xen/libelf.h +++ b/xen/include/xen/libelf.h @@ -39,11 +39,13 @@ typedef int elf_negerrnoval; /* 0: ok; -EFOO: error */ #ifdef __XEN__ #include <public/elfnote.h> #include <public/features.h> +#include <xen/string.h> #else #include <xen/elfnote.h> #include <xen/features.h> #include <stdarg.h> +#include <string.h> struct elf_binary; typedef void elf_log_callback(struct elf_binary*, void *caller_data, -- generated by git-patchbot for /home/xen/git/xen.git#master _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |