Re-format code to avoid overly long lines and declarations

This commit is contained in:
Nils O. Selåsdal
2015-04-04 23:29:27 +02:00
parent a55139aba6
commit c6318c079d
17 changed files with 94 additions and 46 deletions
+5 -1
View File
@@ -40,7 +40,11 @@ uint8_t *uc_mbuf_pull(struct MBuf *mbuf, uint32_t size)
return data;
}
void uc_mbuf_init(struct MBuf *mbuf, uint8_t *restrict buf, uint32_t len, uint32_t headroom, uint32_t flags)
void uc_mbuf_init(struct MBuf *mbuf,
uint8_t *restrict buf,
uint32_t len,
uint32_t headroom,
uint32_t flags)
{
mbuf->bufstart = buf;
mbuf->p1 = mbuf->p2 = mbuf->p3 = mbuf->p4 = NULL;