diff options
Diffstat (limited to 'epan/wmem')
-rw-r--r-- | epan/wmem/wmem_allocator.h | 2 | ||||
-rw-r--r-- | epan/wmem/wmem_core.h | 2 |
2 files changed, 3 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); diff --git a/epan/wmem/wmem_core.h b/epan/wmem/wmem_core.h index ec44bf78bd..8b118ac7fd 100644 --- a/epan/wmem/wmem_core.h +++ b/epan/wmem/wmem_core.h @@ -32,6 +32,8 @@ extern "C" { #endif /* __cplusplus */ +struct _wmem_allocator_t; + typedef struct _wmem_allocator_t wmem_allocator_t; void * |