From c8e503bfe4136506c95da755e0400990f539bb6a Mon Sep 17 00:00:00 2001 From: Nicholas Clark Date: Sat, 18 Jul 2009 19:32:50 +0100 Subject: Eliminate *_ALLOCATED_HEAD and *_HEAD macros which are now used only once. --- av.h | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) (limited to 'av.h') diff --git a/av.h b/av.h index c8ff2a3be9..f8c9d1bdc2 100644 --- a/av.h +++ b/av.h @@ -8,22 +8,13 @@ * */ -#define _XPVAV_ALLOCATED_HEAD \ - SSize_t xav_fill; /* Index of last element present */ \ - SSize_t xav_max /* max index for which array has space */ - -#define _XPVAV_HEAD \ - union _xnvu xnv_u; \ - _XPVAV_ALLOCATED_HEAD - struct xpvav { - _XPVAV_HEAD; + union _xnvu xnv_u; + SSize_t xav_fill; /* Index of last element present */ + SSize_t xav_max; /* max index for which array has space */ _XPVMG_HEAD; }; -#undef _XPVAV_ALLOCATED_HEAD -#undef _XPVAV_HEAD - /* SV** xav_alloc; */ #define xav_alloc xiv_u.xivu_p1 /* SV* xav_arylen; */ -- cgit v1.2.1