git: 8687a5f36929 - stable/13 - libctf: Use ctf_type_t instead of struct ctf_type
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 21 Feb 2022 14:58:09 UTC
The branch stable/13 has been updated by markj:
URL: https://cgit.FreeBSD.org/src/commit/?id=8687a5f369297fe6558911031d3dea7ec85adeb7
commit 8687a5f369297fe6558911031d3dea7ec85adeb7
Author: Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2022-02-09 14:38:03 +0000
Commit: Mark Johnston <markj@FreeBSD.org>
CommitDate: 2022-02-21 14:57:22 +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()")
(cherry picked from commit 2e4311906d8c8dc7a7c726345268253bca6d4acc)
---
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;