[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen master] hvmloader: remove size_t typedef and include stddef.h
commit 51c9a2b93a47961532fb7561b8d6bf7c6f3d0e9d Author: Roger Pau Monne <roger.pau@xxxxxxxxxx> AuthorDate: Mon Jun 2 17:08:22 2014 +0200 Commit: Ian Campbell <ian.campbell@xxxxxxxxxx> CommitDate: Wed Jun 18 17:21:26 2014 +0100 hvmloader: remove size_t typedef and include stddef.h The open coded typedef of size_t was clashing with the typedef in FreeBSD headers. Remove the typedef and include the proper header where size_t is defined (stddef.h). Signed-off-by: Roger Pau Monné <roger.pau@xxxxxxxxxx> Acked-by: Ian Campbell <ian.campbell@xxxxxxxxxx> Cc: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx> Cc: Ian Campbell <ian.campbell@xxxxxxxxxx> --- tools/firmware/hvmloader/util.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/tools/firmware/hvmloader/util.h b/tools/firmware/hvmloader/util.h index 9ccb905..46d32b9 100644 --- a/tools/firmware/hvmloader/util.h +++ b/tools/firmware/hvmloader/util.h @@ -3,6 +3,7 @@ #include <stdarg.h> #include <stdint.h> +#include <stddef.h> #include <xen/xen.h> #include <xen/hvm/hvm_info_table.h> @@ -174,7 +175,6 @@ int printf(const char *fmt, ...) __attribute__ ((format (printf, 1, 2))); int vprintf(const char *fmt, va_list ap); /* Buffer output */ -typedef unsigned long size_t; int snprintf(char *buf, size_t size, const char *fmt, ...) __attribute__ ((format (printf, 3, 4))); /* Populate specified memory hole with RAM. */ -- 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 |