diff options
author | Nick Alcock <nick.alcock@oracle.com> | 2020-06-03 13:21:56 +0100 |
---|---|---|
committer | Nick Alcock <nick.alcock@oracle.com> | 2020-07-22 17:57:46 +0100 |
commit | 2c9ca36be17839467dc88dd8c857bb3226f782e6 (patch) | |
tree | 729b2c6d2fb0023852ef8b4bf9ceec87049ffccd /libctf/ctf-inlines.h | |
parent | 77648241384a5c46f059efeb157a2887116d844a (diff) | |
download | binutils-2c9ca36be17839467dc88dd8c857bb3226f782e6.zip binutils-2c9ca36be17839467dc88dd8c857bb3226f782e6.tar.gz binutils-2c9ca36be17839467dc88dd8c857bb3226f782e6.tar.bz2 |
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.
Diffstat (limited to 'libctf/ctf-inlines.h')
-rw-r--r-- | libctf/ctf-inlines.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libctf/ctf-inlines.h b/libctf/ctf-inlines.h index f9c1b2a..4bec97b 100644 --- a/libctf/ctf-inlines.h +++ b/libctf/ctf-inlines.h @@ -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) |