libctf: Comment out unused CTF encoding functions
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
parent
82155bc92f
commit
deb6a4a492
2
libctf.c
2
libctf.c
|
@ -505,6 +505,7 @@ int ctf__add_object(struct ctf *ctf, uint16_t type)
|
||||||
sizeof(type)) >= 0 ? 0 : -ENOMEM;
|
sizeof(type)) >= 0 ? 0 : -ENOMEM;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if 0
|
||||||
static const void *ctf__compress(void *orig_buf, unsigned int *size)
|
static const void *ctf__compress(void *orig_buf, unsigned int *size)
|
||||||
{
|
{
|
||||||
z_stream z = {
|
z_stream z = {
|
||||||
|
@ -770,3 +771,4 @@ out_close:
|
||||||
close(fd);
|
close(fd);
|
||||||
return err;
|
return err;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue