summaryrefslogtreecommitdiff
path: root/usr/src/lib/libctf/common/libctf_impl.h
diff options
context:
space:
mode:
authorJohn Levon <john.levon@joyent.com>2019-03-08 17:40:00 +0000
committerJohn Levon <john.levon@joyent.com>2019-04-02 08:56:25 +0000
commit495dfd0ac49c1326af24c839ba967d1e8264782d (patch)
treee9bc79ef1e9319e971ff31a62eb2ccca4033d9cd /usr/src/lib/libctf/common/libctf_impl.h
parent8b607fd2753baed9c70e65eeda8ca3935dbe6077 (diff)
downloadillumos-joyent-495dfd0ac49c1326af24c839ba967d1e8264782d.tar.gz
OS-6428 bad free in ctf_dwarf_init_die
OS-6486 ctfconvert -i never converts OS-6488 ctfconvert should handle empty dies OS-6505 Improve ctfconvert error messages OS-7639 ctfconvert -i option is mis-handled OS-7663 ctf_dwarf_convert_type() relies on un-initialized id OS-7688 shouldn't build gcore.c as part of kmdb Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com> Approved by: Robert Mustacchi <rm@joyent.com>
Diffstat (limited to 'usr/src/lib/libctf/common/libctf_impl.h')
-rw-r--r--usr/src/lib/libctf/common/libctf_impl.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/usr/src/lib/libctf/common/libctf_impl.h b/usr/src/lib/libctf/common/libctf_impl.h
index be091ef199..5c88b9454d 100644
--- a/usr/src/lib/libctf/common/libctf_impl.h
+++ b/usr/src/lib/libctf/common/libctf_impl.h
@@ -29,15 +29,9 @@
extern "C" {
#endif
-typedef enum ctf_conv_status {
- CTF_CONV_SUCCESS = 0,
- CTF_CONV_ERROR = 1,
- CTF_CONV_NOTSUP = 2
-} ctf_conv_status_t;
-
-typedef ctf_conv_status_t (*ctf_convert_f)(int, Elf *, uint_t, int *,
+typedef int (*ctf_convert_f)(int, Elf *, uint_t, uint_t,
ctf_file_t **, char *, size_t);
-extern ctf_conv_status_t ctf_dwarf_convert(int, Elf *, uint_t, int *,
+extern int ctf_dwarf_convert(int, Elf *, uint_t, uint_t,
ctf_file_t **, char *, size_t);
/*