From 2c9ca36be17839467dc88dd8c857bb3226f782e6 Mon Sep 17 00:00:00 2001 From: Nick Alcock Date: Wed, 3 Jun 2020 13:21:56 +0100 Subject: libctf: move existing inlines into ctf-inlines.h Just housekeeping. libctf/ * ctf-impl.h (ctf_get_ctt_size): Move definition from here... * ctf-inlines.h (ctf_get_ctt_size): ... to here. --- libctf/ctf-impl.h | 8 -------- 1 file changed, 8 deletions(-) (limited to 'libctf/ctf-impl.h') diff --git a/libctf/ctf-impl.h b/libctf/ctf-impl.h index 7d583ab..81a3c62 100644 --- a/libctf/ctf-impl.h +++ b/libctf/ctf-impl.h @@ -352,14 +352,6 @@ struct ctf_archive_internal #define LCTF_VBYTES(fp, kind, size, vlen) \ ((fp)->ctf_fileops->ctfo_get_vbytes(kind, size, vlen)) -static inline ssize_t ctf_get_ctt_size (const ctf_file_t *fp, - const ctf_type_t *tp, - ssize_t *sizep, - ssize_t *incrementp) -{ - return (fp->ctf_fileops->ctfo_get_ctt_size (fp, tp, sizep, incrementp)); -} - #define LCTF_CHILD 0x0001 /* CTF container is a child */ #define LCTF_RDWR 0x0002 /* CTF container is writable */ #define LCTF_DIRTY 0x0004 /* CTF container has been modified */ -- cgit v1.1