Re-format code to avoid overly long lines and declarations
This commit is contained in:
+5
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user