summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/hb-object-private.h2
-rw-r--r--src/hb-open-type-private.hh6
-rw-r--r--src/hb-private.h4
3 files changed, 6 insertions, 6 deletions
diff --git a/src/hb-object-private.h b/src/hb-object-private.h
index 937b1df..2f5429f 100644
--- a/src/hb-object-private.h
+++ b/src/hb-object-private.h
@@ -62,7 +62,7 @@ typedef struct {
#define HB_DEBUG_OBJECT HB_DEBUG+0
#endif
-static HB_UNUSED inline hb_bool_t /* always returns TRUE */
+static inline hb_bool_t /* always returns TRUE */
_hb_object_debug_out (const void *obj,
hb_reference_count_t *ref_count,
const char *function)
diff --git a/src/hb-open-type-private.hh b/src/hb-open-type-private.hh
index bbd88a7..d4c2fd5 100644
--- a/src/hb-open-type-private.hh
+++ b/src/hb-open-type-private.hh
@@ -171,7 +171,7 @@ _hb_sanitize_fini (hb_sanitize_context_t *context HB_UNUSED,
hb_blob_unlock (blob);
}
-static HB_UNUSED inline bool
+static inline bool
_hb_sanitize_check (SANITIZE_ARG_DEF,
const char *base,
unsigned int len)
@@ -191,7 +191,7 @@ _hb_sanitize_check (SANITIZE_ARG_DEF,
return ret;
}
-static HB_UNUSED inline bool
+static inline bool
_hb_sanitize_array (SANITIZE_ARG_DEF,
const char *base,
unsigned int record_size,
@@ -211,7 +211,7 @@ _hb_sanitize_array (SANITIZE_ARG_DEF,
return HB_LIKELY (!overflows) && _hb_sanitize_check (SANITIZE_ARG, base, record_size * len);
}
-static HB_UNUSED inline bool
+static inline bool
_hb_sanitize_edit (SANITIZE_ARG_DEF,
const char *base HB_UNUSED,
unsigned int len HB_UNUSED)
diff --git a/src/hb-private.h b/src/hb-private.h
index 9130b04..1ee98c7 100644
--- a/src/hb-private.h
+++ b/src/hb-private.h
@@ -161,7 +161,7 @@
* in libgcc in case a target does not have one, which should be just as
* good as the open-coded solution below, (which is "HACKMEM 169").
*/
-static HB_UNUSED inline unsigned int
+static inline unsigned int
_hb_popcount32 (uint32_t mask)
{
#if __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
@@ -240,7 +240,7 @@ typedef int hb_mutex_t;
#define HB_DEBUG 0
#endif
-static HB_UNUSED inline hb_bool_t /* always returns TRUE */
+static inline hb_bool_t /* always returns TRUE */
_hb_trace (const char *what,
const char *function,
const void *obj,