[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v4 07/18] [automated] Delete duplicate QOM typedefs
From: |
Eduardo Habkost |
Subject: |
[PATCH v4 07/18] [automated] Delete duplicate QOM typedefs |
Date: |
Mon, 31 Aug 2020 17:07:29 -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 v3 -> v4: none
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 v4 00/18] qom: Automated conversion of type checking boilerplate, Eduardo Habkost, 2020/08/31
- [PATCH v4 03/18] qom: Allow class type name to be specified in OBJECT_DECLARE*, Eduardo Habkost, 2020/08/31
- [PATCH v4 01/18] qom: make object_ref/unref use a void * instead of Object *., Eduardo Habkost, 2020/08/31
- [PATCH v4 07/18] [automated] Delete duplicate QOM typedefs,
Eduardo Habkost <=
- [PATCH v4 04/18] qom: DECLARE_*_CHECKERS macros, Eduardo Habkost, 2020/08/31
- [PATCH v4 05/18] qom: Make type checker functions accept const pointers, Eduardo Habkost, 2020/08/31
- [PATCH v4 02/18] qom: provide convenient macros for declaring and defining types, Eduardo Habkost, 2020/08/31
- [PATCH v4 06/18] codeconverter: script for automating QOM code cleanups, Eduardo Habkost, 2020/08/31
- [PATCH v4 09/18] [automated] Move QOM typedefs and add missing includes (pass 2), Eduardo Habkost, 2020/08/31
- [PATCH v4 10/18] [automated] Move QOM typedefs and add missing includes (pass 3), Eduardo Habkost, 2020/08/31
- [PATCH v4 08/18] [automated] Move QOM typedefs and add missing includes, Eduardo Habkost, 2020/08/31
- [PATCH v4 12/18] [automated] Use DECLARE_*CHECKER* macros (pass 2), Eduardo Habkost, 2020/08/31
- [PATCH v4 14/18] [semi-automated] Use DECLARE_*CHECKER* when possible (--force mode), Eduardo Habkost, 2020/08/31
- [PATCH v4 13/18] [automated] Use DECLARE_*CHECKER* macros (pass 3), Eduardo Habkost, 2020/08/31