diff options
author | Guy Harris <guy@alum.mit.edu> | 2012-10-24 05:21:43 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2012-10-24 05:21:43 +0000 |
commit | c1e2438551e6aafaf0da386f8ff4135e8d20f16f (patch) | |
tree | 052871e9ecda75b006c337bbb4420dbb96cce49d /epan/wmem/wmem_allocator.h | |
parent | 3ceef88b49a2d12172c9714c8adab06acf00cacc (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.h | 2 |
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); |