From 81822528efc63d867cb2343a8ff7af64fac1c70d Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Fri, 23 Nov 2012 13:27:16 -0500 Subject: [PATCH] Minor --- src/hb-open-type-private.hh | 6 ++++++ src/hb-ot-layout-gsubgpos-private.hh | 3 --- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/hb-open-type-private.hh b/src/hb-open-type-private.hh index 2e03dc3d0..b585e1873 100644 --- a/src/hb-open-type-private.hh +++ b/src/hb-open-type-private.hh @@ -37,6 +37,12 @@ namespace OT { +/* + * Void! + */ +typedef struct {} void_t; + + /* * Casts */ diff --git a/src/hb-ot-layout-gsubgpos-private.hh b/src/hb-ot-layout-gsubgpos-private.hh index 820030bf1..16476e9ee 100644 --- a/src/hb-ot-layout-gsubgpos-private.hh +++ b/src/hb-ot-layout-gsubgpos-private.hh @@ -37,9 +37,6 @@ namespace OT { -typedef struct {} void_t; /* To be used as return value when void is meant. */ - - #ifndef HB_DEBUG_CLOSURE #define HB_DEBUG_CLOSURE (HB_DEBUG+0) #endif