summaryrefslogtreecommitdiff
path: root/usr/src/tools/ctf/cvt/stabs.c
diff options
context:
space:
mode:
authorToomas Soome <tsoome@me.com>2018-05-30 12:38:16 +0300
committerHans Rosenfeld <hans.rosenfeld@joyent.com>2018-06-04 10:35:16 +0200
commitea4ea50f064c5468142b24627acad09a41f060cb (patch)
treeedd308866e93219b4b0973553d9764cc1dfe8c30 /usr/src/tools/ctf/cvt/stabs.c
parenta19d2449c7801a22d6c8370a965dab3d16c77925 (diff)
downloadillumos-gate-ea4ea50f064c5468142b24627acad09a41f060cb.tar.gz
9565 ctf: cast between incompatible function types
Reviewed by: Yuri Pankov <yuripv@yuripv.net> Reviewed by: Andrew Stormont <andyjstormont@gmail.com> Reviewed by: John Levon <john.levon@joyent.com> Approved by: Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>
Diffstat (limited to 'usr/src/tools/ctf/cvt/stabs.c')
-rw-r--r--usr/src/tools/ctf/cvt/stabs.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/usr/src/tools/ctf/cvt/stabs.c b/usr/src/tools/ctf/cvt/stabs.c
index f7b3034c64..53b4565859 100644
--- a/usr/src/tools/ctf/cvt/stabs.c
+++ b/usr/src/tools/ctf/cvt/stabs.c
@@ -23,8 +23,6 @@
* Use is subject to license terms.
*/
-#pragma ident "%Z%%M% %I% %E% SMI"
-
/*
* Routines used to read stabs data from a file, and to build a tdata structure
* based on the interesting parts of that data.
@@ -331,7 +329,7 @@ stabs_read(tdata_t *td, Elf *elf, const char *file)
*/
if (scope && stab->n_type != N_PSYM) {
if (iidescp)
- iidesc_free(iidescp, NULL);
+ iidesc_free(iidescp);
goto parse_loop_end;
}
@@ -356,7 +354,7 @@ stabs_read(tdata_t *td, Elf *elf, const char *file)
case II_PSYM:
fnarg_add(curfun, iidescp);
- iidesc_free(iidescp, NULL);
+ iidesc_free(iidescp);
break;
default:
aborterr("invalid ii_type %d for stab type %d",