summaryrefslogtreecommitdiff
path: root/girepository/cmph/buffer_entry.c
diff options
context:
space:
mode:
Diffstat (limited to 'girepository/cmph/buffer_entry.c')
-rw-r--r--girepository/cmph/buffer_entry.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/girepository/cmph/buffer_entry.c b/girepository/cmph/buffer_entry.c
index 7f82aae1..5dcc4d57 100644
--- a/girepository/cmph/buffer_entry.c
+++ b/girepository/cmph/buffer_entry.c
@@ -43,7 +43,7 @@ cmph_uint32 buffer_entry_get_capacity(buffer_entry_t * buffer_entry)
return buffer_entry->capacity;
}
-void buffer_entry_load(buffer_entry_t * buffer_entry)
+static void buffer_entry_load(buffer_entry_t * buffer_entry)
{
free(buffer_entry->buff);
buffer_entry->buff = (cmph_uint8 *)calloc((size_t)buffer_entry->capacity, sizeof(cmph_uint8));