diff options
author | John Levon <john.levon@joyent.com> | 2020-01-29 07:27:16 -0800 |
---|---|---|
committer | John Levon <john.levon@joyent.com> | 2020-02-12 03:18:36 -0800 |
commit | fe2dc8bddec347e173d402f53feeb492640a9f98 (patch) | |
tree | dc27791c1d158d314fb5239a0b15a208bf695955 /usr/src/common/ctf/ctf_impl.h | |
parent | d5d2dbe51affdd94ab32688a7e92dd23ef5b3ba9 (diff) | |
download | illumos-joyent-fe2dc8bddec347e173d402f53feeb492640a9f98.tar.gz |
12259 CTF shouldn't assume enum size
Reviewed by: Robert Mustacchi <rm@fingolfin.org>
Approved by: Dan McDonald <danmcd@joyent.com>
Diffstat (limited to 'usr/src/common/ctf/ctf_impl.h')
-rw-r--r-- | usr/src/common/ctf/ctf_impl.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr/src/common/ctf/ctf_impl.h b/usr/src/common/ctf/ctf_impl.h index b82fb7e36e..7064abad15 100644 --- a/usr/src/common/ctf/ctf_impl.h +++ b/usr/src/common/ctf/ctf_impl.h @@ -25,7 +25,7 @@ * Use is subject to license terms. */ /* - * Copyright 2019, Joyent, Inc. + * Copyright 2020 Joyent, Inc. */ #ifndef _CTF_IMPL_H @@ -254,6 +254,8 @@ struct ctf_file { extern ssize_t ctf_get_ctt_size(const ctf_file_t *, const ctf_type_t *, ssize_t *, ssize_t *); +extern void ctf_set_ctt_size(ctf_type_t *, ssize_t); + extern const ctf_type_t *ctf_lookup_by_id(ctf_file_t **, ctf_id_t); extern ctf_file_t *ctf_fdcreate_int(int, int *, ctf_sect_t *); |