From 5796aa164d79b2ffaf2839b281d490be6a72d1d8 Mon Sep 17 00:00:00 2001 From: Martin Willi Date: Thu, 24 Nov 2005 11:30:19 +0000 Subject: - typedefs changed --- Source/charon/utils/allocator.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'Source/charon/utils/allocator.c') diff --git a/Source/charon/utils/allocator.c b/Source/charon/utils/allocator.c index dcb4e4231..a56369f95 100644 --- a/Source/charon/utils/allocator.c +++ b/Source/charon/utils/allocator.c @@ -32,14 +32,14 @@ #ifdef LEAK_DETECTIVE +typedef union memory_hdr_t memory_hdr_t; + /** * Header of each allocated memory area * * Used to detect memory leaks */ -typedef union memory_hdr_u memory_hdr_t; - -union memory_hdr_u { +union memory_hdr_t { struct { /** * Filename withing memory was allocated @@ -69,9 +69,9 @@ union memory_hdr_u { * * Contains private variables of allocator_t object. */ -typedef struct private_allocator_s private_allocator_t; +typedef struct private_allocator_t private_allocator_t; -struct private_allocator_s +struct private_allocator_t { /** * Public part of an allocator_t object. -- cgit v1.2.3