From: Behdad Esfahbod Date: Mon, 16 Nov 2009 20:12:52 +0000 (-0500) Subject: Move FcAlign to fcint.h X-Git-Tag: 2.8.0~25 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=8009229bc5cd9b540ff56a47ddc32ccada2679b0;p=fontconfig.git Move FcAlign to fcint.h --- diff --git a/src/fcint.h b/src/fcint.h index 1691dda..767a742 100644 --- a/src/fcint.h +++ b/src/fcint.h @@ -351,6 +351,14 @@ struct _FcCache { #define FC_SERIALIZE_HASH_SIZE 8191 +typedef union _FcAlign { + double d; + int i; + intptr_t ip; + FcBool b; + void *p; +} FcAlign; + typedef struct _FcSerializeBucket { struct _FcSerializeBucket *next; const void *object; diff --git a/src/fcserialize.c b/src/fcserialize.c index a66d388..e5ec90b 100644 --- a/src/fcserialize.c +++ b/src/fcserialize.c @@ -22,14 +22,6 @@ #include "fcint.h" -typedef union _FcAlign { - double d; - int i; - intptr_t ip; - FcBool b; - void *p; -} FcAlign; - intptr_t FcAlignSize (intptr_t size) {