alloc: Format with clang-format
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Change-Id: I5b7e807c3afc55fe625646d0d6c311a7fe597b38
diff --git a/alloc.c b/alloc.c
index b6b6761..84c3f65 100644
--- a/alloc.c
+++ b/alloc.c
@@ -10,9 +10,9 @@
#endif
struct {
- void *(*m_alloc)(size_t);
- void (*m_free)(void *);
- void *(*m_realloc)(void *, size_t);
+ void *(*m_alloc)(size_t);
+ void (*m_free)(void *);
+ void *(*m_realloc)(void *, size_t);
} alloc_ops = {
#ifdef MCTP_DEFAULT_ALLOC
malloc,
@@ -50,9 +50,8 @@
return NULL;
}
-void mctp_set_alloc_ops(void *(*m_alloc)(size_t),
- void (*m_free)(void *),
- void *(m_realloc)(void *, size_t))
+void mctp_set_alloc_ops(void *(*m_alloc)(size_t), void (*m_free)(void *),
+ void *(m_realloc)(void *, size_t))
{
alloc_ops.m_alloc = m_alloc;
alloc_ops.m_free = m_free;