mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice-common
synced 2026-08-07 22:10:37 +00:00
marshaller: Remove initial underscore from static function
This is the only function starting with an underscore, looks out of style. Signed-off-by: Frediano Ziglio <fziglio@redhat.com> Acked-by: Eduardo Lima (Etrunko) <etrunko@redhat.com>
This commit is contained in:
parent
8816d30e67
commit
78a17ba00a
@ -270,7 +270,7 @@ static size_t remaining_buffer_size(SpiceMarshallerData *d)
|
||||
return MARSHALLER_BUFFER_SIZE - d->current_buffer_position;
|
||||
}
|
||||
|
||||
static void _reserve_space_free_data(uint8_t *data, SPICE_GNUC_UNUSED void *opaque)
|
||||
static void reserve_space_free_data(uint8_t *data, SPICE_GNUC_UNUSED void *opaque)
|
||||
{
|
||||
free(data);
|
||||
}
|
||||
@ -313,7 +313,7 @@ uint8_t *spice_marshaller_reserve_space(SpiceMarshaller *m, size_t size)
|
||||
/* Large item, allocate by itself */
|
||||
item->data = (uint8_t *)spice_malloc(size);
|
||||
item->len = size;
|
||||
item->free_data = _reserve_space_free_data;
|
||||
item->free_data = reserve_space_free_data;
|
||||
item->opaque = NULL;
|
||||
} else {
|
||||
/* Use next buffer */
|
||||
|
||||
Loading…
Reference in New Issue
Block a user