Revision b87e7c7a src/msg_buffer.c

View differences:

src/msg_buffer.c
61 61
static int msg_buffer_increase_n_slots(struct msg_buffer *msgb)
62 62
{
63 63
	uint32_t new_nslots = msgb->nslots << 1;
64
	int i;
64
	uint32_t i;
65 65
	int32_t next_slot_copy = msgb->next_slot_pop;
66 66

  
67 67
	struct msg_buffer_slot * new_slots = (struct msg_buffer_slot *)
......
568 568
	}
569 569
}
570 570

  
571
void msg_buffer_set_initial_buffering_to_us(struct msg_buffer *msgb,
571
void msg_buffer_set_start_buffering_to_us(struct msg_buffer *msgb,
572 572
					    uint32_t to_us)
573 573
{
574 574
	if (msgb) {
......
619 619
	if (msgb) {
620 620
		return msgb->nslots;
621 621
	}
622

  
623
	return 0;
622 624
}

Also available in: Unified diff