From 486fa46893d070485738de6e2c0d418650662d63 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Mon, 16 Nov 2009 15:41:58 -0500 Subject: [PATCH] Remove unused macros --- src/fcint.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/fcint.h b/src/fcint.h index 4371158..14008a3 100644 --- a/src/fcint.h +++ b/src/fcint.h @@ -428,8 +428,6 @@ typedef struct _FcCaseFold { #define fc_value_langset(v) FcValueLangSet(v) #define fc_storage_type(v) ((v)->type) -#define fc_alignof(type) offsetof (struct { char c; type member; }, member) - #define FC_CACHE_MAGIC_MMAP 0xFC02FC04 #define FC_CACHE_MAGIC_ALLOC 0xFC02FC05 #define FC_CACHE_CONTENT_VERSION 3 /* also check FC_CACHE_VERSION */ @@ -520,9 +518,6 @@ typedef struct _FcFileTime { typedef struct _FcCharMap FcCharMap; -/* watch out; assumes that v is void * -PL */ -#define ALIGN(v,type) ((void *)(((uintptr_t)(v) + fc_alignof(type) - 1) & ~(fc_alignof(type) - 1))) - /* fcblanks.c */ /* fccache.c */ -- 2.39.2