[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v3 61/74] [automated] Delete duplicate QOM typedefs
From: |
Eduardo Habkost |
Subject: |
[PATCH v3 61/74] [automated] Delete duplicate QOM typedefs |
Date: |
Tue, 25 Aug 2020 15:20:57 -0400 |
Generated using:
$ ./scripts/codeconverter/converter.py -i \
--pattern=QOMDuplicatedTypedefs $(git grep -l '' -- '*.[ch]')
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
---
Changes v2 -> v3: none
Changes v1 -> v2: none
---
Cc: "Daniel P. Berrangé" <berrange@redhat.com>
Cc: qemu-devel@nongnu.org
---
include/crypto/secret_keyring.h | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/include/crypto/secret_keyring.h b/include/crypto/secret_keyring.h
index 9f371ad251..4345eb048e 100644
--- a/include/crypto/secret_keyring.h
+++ b/include/crypto/secret_keyring.h
@@ -39,14 +39,14 @@
typedef struct QCryptoSecretKeyring QCryptoSecretKeyring;
typedef struct QCryptoSecretKeyringClass QCryptoSecretKeyringClass;
-typedef struct QCryptoSecretKeyring {
+struct QCryptoSecretKeyring {
QCryptoSecretCommon parent;
int32_t serial;
-} QCryptoSecretKeyring;
+};
-typedef struct QCryptoSecretKeyringClass {
+struct QCryptoSecretKeyringClass {
QCryptoSecretCommonClass parent;
-} QCryptoSecretKeyringClass;
+};
#endif /* QCRYPTO_SECRET_KEYRING_H */
--
2.26.2
- [PATCH v3 50/74] migration: Rename class type checking macros, (continued)
- [PATCH v3 50/74] migration: Rename class type checking macros, Eduardo Habkost, 2020/08/25
- [PATCH v3 49/74] swim: Rename struct SWIM to Swim, Eduardo Habkost, 2020/08/25
- [PATCH v3 51/74] arm: Fix typo in AARCH64_CPU_GET_CLASS definition, Eduardo Habkost, 2020/08/25
- [PATCH v3 54/74] qom: make object_ref/unref use a void * instead of Object *., Eduardo Habkost, 2020/08/25
- [PATCH v3 52/74] rx: Rename QOM type check macros, Eduardo Habkost, 2020/08/25
- [PATCH v3 56/74] qom: Allow class type name to be specified in OBJECT_DECLARE*, Eduardo Habkost, 2020/08/25
- [PATCH v3 53/74] rx: Move typedef RXCPU to cpu-qom.h, Eduardo Habkost, 2020/08/25
- [PATCH v3 57/74] qom: DECLARE_*_CHECKERS macros, Eduardo Habkost, 2020/08/25
- [PATCH v3 55/74] qom: provide convenient macros for declaring and defining types, Eduardo Habkost, 2020/08/25
- [PATCH v3 61/74] [automated] Delete duplicate QOM typedefs,
Eduardo Habkost <=
- [PATCH v3 58/74] qom: Make type checker functions accept const pointers, Eduardo Habkost, 2020/08/25
- [PATCH v3 59/74] qom: TYPE_INFO macro, Eduardo Habkost, 2020/08/25
- [PATCH v3 60/74] codeconverter: script for automating QOM code cleanups, Eduardo Habkost, 2020/08/25
- [PATCH v3 63/74] [automated] Use TYPE_INFO macro (pass 2), Eduardo Habkost, 2020/08/25
- [PATCH v3 62/74] [automated] Use TYPE_INFO macro, Eduardo Habkost, 2020/08/25
- [PATCH v3 65/74] [automated] Move QOM typedefs and add missing includes (pass 2), Eduardo Habkost, 2020/08/25
- [PATCH v3 67/74] [automated] Use DECLARE_*CHECKER* macros (pass 2), Eduardo Habkost, 2020/08/25