[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-stable] [Qemu-devel] [PATCH 2/2] Header cleanups- Tabs replace
From: |
Daniel P . Berrangé |
Subject: |
Re: [Qemu-stable] [Qemu-devel] [PATCH 2/2] Header cleanups- Tabs replaced with spaces |
Date: |
Mon, 1 Apr 2019 10:39:32 +0100 |
User-agent: |
Mutt/1.11.3 (2019-02-01) |
On Mon, Apr 01, 2019 at 01:56:55PM +0530, Aruna Jayasena wrote:
> Declarations were moved out of qemu-common.h for functions declared in utils/
> files.
> This task was under https://wiki.qemu.org/Contribute/BiteSizedTasks
>
> Signed-off-by: Aruna Jayasena <address@hidden>
>
> ---
> include/qemu/id.h | 4 ++--
> include/qemu/readline.h | 2 +-
> 2 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/include/qemu/id.h b/include/qemu/id.h
> index 3a651fb9d2..f3451344e2 100644
> --- a/include/qemu/id.h
> +++ b/include/qemu/id.h
> @@ -1,8 +1,8 @@
> #ifndef QEMU_ID_H
> #define QEMU_ID_H
>
> -#define qemu_isalnum(c) isalnum((unsigned char)(c))
> -#define qemu_isalpha(c) isalpha((unsigned char)(c))
> +#define qemu_isalnum(c) isalnum((unsigned char)(c))
> +#define qemu_isalpha(c) isalpha((unsigned char)(c))
>
> typedef enum IdSubSystems {
> ID_QDEV,
> diff --git a/include/qemu/readline.h b/include/qemu/readline.h
> index 4cbf7ead5a..67859a3028 100644
> --- a/include/qemu/readline.h
> +++ b/include/qemu/readline.h
> @@ -1,7 +1,7 @@
> #ifndef READLINE_H
> #define READLINE_H
>
> -#define qemu_isspace(c) isspace((unsigned char)(c))
> +#define qemu_isspace(c) isspace((unsigned char)(c))
>
> #define READLINE_CMD_BUF_SIZE 4095
> #define READLINE_MAX_CMDS 64
This should just be fixed when moving the macros out of qemu-common.h
Regards,
Daniel
--
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o- https://fstop138.berrange.com :|
|: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|