aboutsummaryrefslogtreecommitdiffstats
path: root/epan/wmem/wmem_allocator.h
diff options
context:
space:
mode:
authorEvan Huus <eapache@gmail.com>2013-02-08 01:47:48 +0000
committerEvan Huus <eapache@gmail.com>2013-02-08 01:47:48 +0000
commitb636b8864639e07b589cc7cf7f22c48ee6c96e5e (patch)
tree2def93fb20ae2412b314aa64f60bed72d25f4739 /epan/wmem/wmem_allocator.h
parenteea6cb6315b1abf00671d2ef135a7b0f052f9a9e (diff)
Expose the new wmem API functions, and use a consistent order of
alloc/free/realloc across all of wmem. svn path=/trunk/; revision=47548
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 ded017a979..baa7822326 100644
--- a/epan/wmem/wmem_allocator.h
+++ b/epan/wmem/wmem_allocator.h
@@ -43,8 +43,8 @@ struct _wmem_allocator_t {
/* Consumer functions */
void *(*alloc)(void *private_data, const size_t size);
- void *(*realloc)(void *private_data, void *ptr, const size_t size);
void (*free)(void *private_data, void *ptr);
+ void *(*realloc)(void *private_data, void *ptr, const size_t size);
/* Producer/Manager functions */
void (*free_all)(void *private_data);