qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 2/2] Header cleanups- Tabs replaced with spaces


From: Philippe Mathieu-Daudé
Subject: Re: [Qemu-devel] [PATCH 2/2] Header cleanups- Tabs replaced with spaces
Date: Mon, 1 Apr 2019 15:04:02 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1

On 4/1/19 11:39 AM, Daniel P. Berrangé wrote:
> 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

Hmm I did a series following your suggestion of using g_ascii_*()
instead of qemu_* helpers, and plan to send it for 4.1. Eventually
Aruna's work can go on top...

> 
> Regards,
> Daniel
> 



reply via email to

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