qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH RFC] Header cleanups for functions declared in utils


From: Aruna Jayasena
Subject: [Qemu-devel] [PATCH RFC] Header cleanups for functions declared in utils/ files
Date: Mon, 1 Apr 2019 11:18:28 +0530

>From d34c4a45de91eadf2a6e98fd54aa86df11997fa2 Mon Sep 17 00:00:00 2001
From: Archfx <address@hidden>
Date: Mon, 1 Apr 2019 11:01:22 +0530
Subject: [PATCH 2/2] Header cleanups Declarations were moved out of
 qemu-common.h for functions declared in utils/ files
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
-- 
2.17.1

-- 
*Aruna* Jayasena
Embedded Systems and Computer Science Engineering Undergraduate
University of Moratuwa
*✆ **+94719872152 *
✉ <address@hidden> ⌨ <http://archfx.github.io> in
<https://www.linkedin.com/in/arunajayasena/>


reply via email to

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