qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] Re: [PATCH] Use stdint.h for integral data types and defini


From: Jan Kiszka
Subject: [Qemu-devel] Re: [PATCH] Use stdint.h for integral data types and definitions
Date: Sat, 07 Feb 2009 00:52:39 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); de; rv:1.8.1.12) Gecko/20080226 SUSE/2.0.0.12-1.1 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666

Stefan Weil wrote:
> This patch replaces local definitions and declaration
> for integral data types by a C99 standard header file.
> 
> This reduces Qemu code, avoids some compiler warnings
> because of redefinitions and should make the code more
> portable.
> 
> Signed-off-by: Stefan Weil <address@hidden>
> 
> Index: trunk/dyngen-exec.h
> ===================================================================
> --- trunk.orig/dyngen-exec.h  2009-02-06 22:21:41.000000000 +0100
> +++ trunk/dyngen-exec.h       2009-02-06 22:21:42.000000000 +0100
> @@ -31,57 +31,15 @@
>     point because host CPU registers are used as global variables. Some
>     host headers do not allow that. */
>  #include <stddef.h>
> +#include <stdint.h>

I think the safer and cleaner approach is to remove the last users of
legacy dyngen-exec.h and finally kill this file.

Jan

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]