git: 2e4311906d8c - main - libctf: Use ctf_type_t instead of struct ctf_type
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 10 Feb 2022 18:24:53 UTC
The branch main has been updated by markj:
URL: https://cgit.FreeBSD.org/src/commit/?id=2e4311906d8c8dc7a7c726345268253bca6d4acc
commit 2e4311906d8c8dc7a7c726345268253bca6d4acc
Author: Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2022-02-09 14:38:03 +0000
Commit: Mark Johnston <markj@FreeBSD.org>
CommitDate: 2022-02-10 18:21:37 +0000
libctf: Use ctf_type_t instead of struct ctf_type
For consistency with other CTF toolchain code. No functional change
intended.
Fixes: 105fd928b0b5 ("libctf: Improve check for duplicate SOU definitions in ctf_add_type()")
MFC after: 1 week
---
cddl/contrib/opensolaris/common/ctf/ctf_create.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cddl/contrib/opensolaris/common/ctf/ctf_create.c b/cddl/contrib/opensolaris/common/ctf/ctf_create.c
index 3a080e71baa0..35a43cc4e790 100644
--- a/cddl/contrib/opensolaris/common/ctf/ctf_create.c
+++ b/cddl/contrib/opensolaris/common/ctf/ctf_create.c
@@ -1233,7 +1233,7 @@ static long
soucmp(ctf_file_t *src_fp, ctf_id_t src_type, ctf_file_t *dst_fp,
ctf_id_t dst_type)
{
- const struct ctf_type *src_tp, *dst_tp;
+ const ctf_type_t *src_tp, *dst_tp;
const char *src_name, *dst_name;
ssize_t src_sz, dst_sz, src_inc, dst_inc;
uint_t kind, n;