libctf: move existing inlines into ctf-inlines.h
authorNick Alcock <nick.alcock@oracle.com>
Wed, 3 Jun 2020 12:21:56 +0000 (13:21 +0100)
committerNick Alcock <nick.alcock@oracle.com>
Wed, 22 Jul 2020 16:57:46 +0000 (17:57 +0100)
Just housekeeping.

libctf/
* ctf-impl.h (ctf_get_ctt_size): Move definition from here...
* ctf-inlines.h (ctf_get_ctt_size): ... to here.

libctf/ChangeLog
libctf/ctf-impl.h
libctf/ctf-inlines.h

index 329e69c5f2ea8f99605cd63a56148643448f9708..b3a816cb862971a64291d7bbe32594001ef07029 100644 (file)
@@ -1,3 +1,8 @@
+2020-07-22  Nick Alcock  <nick.alcock@oracle.com>
+
+       * ctf-impl.h (ctf_get_ctt_size): Move definition from here...
+       * ctf-inlines.h (ctf_get_ctt_size): ... to here.
+
 2020-07-22  Nick Alcock  <nick.alcock@oracle.com>
 
        * ctf-hash.c (ctf_dynset_eq_string): New.
index 7d583ab6679065a36a61c32667b127f855150557..81a3c62dcfcbdbe7e79c87bc5055a631bb839486 100644 (file)
@@ -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 */
index f9c1b2adbfbd27e2fc87e2276b45ba5f5f5c423f..4bec97b11b3f2eba792139500d0d31acd22a6217 100644 (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)
This page took 0.033389 seconds and 4 git commands to generate.