mirror of
https://github.com/profanity-im/profanity.git
synced 2025-01-03 14:57:42 -05:00
Applied coding style to src/ui/buffer.h src/ui/buffer.c
This commit is contained in:
parent
0017098400
commit
559ff72cf5
@ -58,7 +58,7 @@ struct prof_buff_t {
|
|||||||
static void _free_entry(ProfBuffEntry *entry);
|
static void _free_entry(ProfBuffEntry *entry);
|
||||||
|
|
||||||
ProfBuff
|
ProfBuff
|
||||||
buffer_create()
|
buffer_create(void)
|
||||||
{
|
{
|
||||||
ProfBuff new_buff = malloc(sizeof(struct prof_buff_t));
|
ProfBuff new_buff = malloc(sizeof(struct prof_buff_t));
|
||||||
new_buff->entries = NULL;
|
new_buff->entries = NULL;
|
||||||
|
@ -66,5 +66,4 @@ int buffer_size(ProfBuff buffer);
|
|||||||
ProfBuffEntry* buffer_yield_entry(ProfBuff buffer, int entry);
|
ProfBuffEntry* buffer_yield_entry(ProfBuff buffer, int entry);
|
||||||
gboolean buffer_mark_received(ProfBuff buffer, const char *const id);
|
gboolean buffer_mark_received(ProfBuff buffer, const char *const id);
|
||||||
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user