aboutsummaryrefslogtreecommitdiffstats
path: root/epan/wmem/wmem_allocator.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2012-10-24 05:21:43 +0000
committerGuy Harris <guy@alum.mit.edu>2012-10-24 05:21:43 +0000
commitc1e2438551e6aafaf0da386f8ff4135e8d20f16f (patch)
tree052871e9ecda75b006c337bbb4420dbb96cce49d /epan/wmem/wmem_allocator.h
parent3ceef88b49a2d12172c9714c8adab06acf00cacc (diff)
Have wmem_core.h define the wmem_allocator_t typedef, with an incomplete
structure definition of struct _wmem_allocator_t; have wmem_allocator.h give the complete structure definition. That avoids complaints about the typedef being redefined. svn path=/trunk/; revision=45750
Diffstat (limited to 'epan/wmem/wmem_allocator.h')
-rw-r--r--epan/wmem/wmem_allocator.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/wmem/wmem_allocator.h b/epan/wmem/wmem_allocator.h
index 6c9c931e34..01f308f7b5 100644
--- a/epan/wmem/wmem_allocator.h
+++ b/epan/wmem/wmem_allocator.h
@@ -32,7 +32,7 @@
extern "C" {
#endif /* __cplusplus */
-typedef struct _wmem_allocator_t {
+struct _wmem_allocator_t {
void *(*alloc)(void *private_data, size_t size);
void (*free_all)(void *private_data);