Eliminate the remaining definitions for *_allocated structs.
authorNicholas Clark <nick@ccl4.org>
Sat, 18 Jul 2009 17:34:06 +0000 (18:34 +0100)
committerNicholas Clark <nick@ccl4.org>
Sat, 22 Aug 2009 19:49:37 +0000 (20:49 +0100)
av.h
cv.h
hv.h
sv.h

diff --git a/av.h b/av.h
index 77df033..c8ff2a3 100644 (file)
--- a/av.h
+++ b/av.h
@@ -21,11 +21,6 @@ struct xpvav {
     _XPVMG_HEAD;
 };
 
-typedef struct {
-    _XPVAV_ALLOCATED_HEAD;
-    _XPVMG_HEAD;
-} xpvav_allocated;
-
 #undef _XPVAV_ALLOCATED_HEAD
 #undef _XPVAV_HEAD
 
diff --git a/cv.h b/cv.h
index 2c21ec6..290019d 100644 (file)
--- a/cv.h
+++ b/cv.h
@@ -16,12 +16,6 @@ struct xpvcv {
     _XPVCV_COMMON;
 };
 
-typedef struct {
-    _XPV_ALLOCATED_HEAD;
-    _XPVMG_HEAD;
-    _XPVCV_COMMON;
-} xpvcv_allocated;
-
 /*
 =head1 Handy Values
 
diff --git a/hv.h b/hv.h
index 9322377..7a2e63f 100644 (file)
--- a/hv.h
+++ b/hv.h
@@ -97,11 +97,6 @@ struct xpvhv {
 
 #define xhv_keys xiv_u.xivu_iv
 
-typedef struct {
-    _XPVHV_ALLOCATED_HEAD;
-    _XPVMG_HEAD;
-} xpvhv_allocated;
-
 #undef _XPVHV_ALLOCATED_HEAD
 #undef _XPVHV_HEAD
 
diff --git a/sv.h b/sv.h
index 90771a4..f8670c7 100644 (file)
--- a/sv.h
+++ b/sv.h
@@ -439,20 +439,11 @@ struct xpv {
     _XPV_HEAD;
 };
 
-typedef struct {
-    _XPV_ALLOCATED_HEAD;
-} xpv_allocated;
-
 struct xpviv {
     _XPV_HEAD;
     union _xivu xiv_u;
 };
 
-typedef struct {
-    _XPV_ALLOCATED_HEAD;
-    union _xivu xiv_u;
-} xpviv_allocated;
-
 #define xiv_iv xiv_u.xivu_iv
 
 struct xpvuv {
@@ -525,12 +516,6 @@ struct xpvfm {
     _XPVCV_COMMON;
 };
 
-typedef struct {
-    _XPV_ALLOCATED_HEAD;
-    _XPVMG_HEAD;
-    _XPVCV_COMMON;
-} xpvfm_allocated;
-
 #define _XPVIO_TAIL                                                    \
     PerlIO *   xio_ifp;        /* ifp and ofp are normally the same */ \
     PerlIO *   xio_ofp;        /* but sockets need separate streams */ \