summaryrefslogtreecommitdiff
path: root/epan/wmem/wmem_stack.c
diff options
context:
space:
mode:
authorEvan Huus <eapache@gmail.com>2012-11-08 23:18:26 +0000
committerEvan Huus <eapache@gmail.com>2012-11-08 23:18:26 +0000
commit82501433e32701dff181bc7bc147b7e2ecaa9d58 (patch)
tree602e9d7b644658380f45281382e63bd65631c9b7 /epan/wmem/wmem_stack.c
parent26a40dd999a15ebc45130b8b77c509ef93aa94e8 (diff)
downloadwireshark-82501433e32701dff181bc7bc147b7e2ecaa9d58.tar.gz
Use const in wmem where possible.
svn path=/trunk/; revision=45976
Diffstat (limited to 'epan/wmem/wmem_stack.c')
-rw-r--r--epan/wmem/wmem_stack.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/wmem/wmem_stack.c b/epan/wmem/wmem_stack.c
index e38c9ab496..89302edc5c 100644
--- a/epan/wmem/wmem_stack.c
+++ b/epan/wmem/wmem_stack.c
@@ -42,13 +42,13 @@ struct _wmem_stack_t {
};
guint
-wmem_stack_count(wmem_stack_t *stack)
+wmem_stack_count(const wmem_stack_t *stack)
{
return stack->count;
}
void *
-wmem_stack_peek(wmem_stack_t *stack)
+wmem_stack_peek(const wmem_stack_t *stack)
{
g_assert(stack->top != NULL);
g_assert(stack->count > 0);