From deb6a4a4921b33ec8e8ca1f63ebab574ee661069 Mon Sep 17 00:00:00 2001 From: Arnaldo Carvalho de Melo Date: Mon, 28 Jun 2021 15:01:25 -0300 Subject: [PATCH] libctf: Comment out unused CTF encoding functions Signed-off-by: Arnaldo Carvalho de Melo --- libctf.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libctf.c b/libctf.c index 358c0b7..e274e43 100644 --- a/libctf.c +++ b/libctf.c @@ -505,6 +505,7 @@ int ctf__add_object(struct ctf *ctf, uint16_t type) sizeof(type)) >= 0 ? 0 : -ENOMEM; } +#if 0 static const void *ctf__compress(void *orig_buf, unsigned int *size) { z_stream z = { @@ -770,3 +771,4 @@ out_close: close(fd); return err; } +#endif