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.
This commit is contained in:
Nick Alcock
2020-06-03 13:21:56 +01:00
parent 7764824138
commit 2c9ca36be1
3 changed files with 14 additions and 8 deletions

View File

@ -31,6 +31,15 @@ extern "C"
#error "ctf-inlines.h" should not be included directly: include "ctf-impl.h".
#endif
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));
}
static inline int
ctf_dynhash_cinsert (ctf_dynhash_t *h, const void *k, const void *v)