summaryrefslogtreecommitdiff
path: root/lib/hook.h
diff options
context:
space:
mode:
authorwhitespace / reindent <invalid@invalid.invalid>2017-07-17 15:26:02 -0400
committerQuentin Young <qlyoung@cumulusnetworks.com>2017-07-17 15:26:02 -0400
commitc14777c6bfd0a446c85243d3a9835054a259c276 (patch)
tree2021f7d89a6046f81ff1f44d256ecff28282568f /lib/hook.h
parentf0735da293f2aef7e09cb67c5564d69d7260db9a (diff)
*: reindent pt. 2
w/ clang 5 * reflow comments * struct members go 1 per line * binpack algo was adjusted
Diffstat (limited to 'lib/hook.h')
-rw-r--r--lib/hook.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/hook.h b/lib/hook.h
index 4a5cee2fd3..da3419bd27 100644
--- a/lib/hook.h
+++ b/lib/hook.h
@@ -161,7 +161,8 @@ extern void _hook_unregister(struct hook *hook, void *funcptr, void *arg,
*/
#define DEFINE_HOOK(hookname, arglist, passlist) \
struct hook _hook_##hookname = { \
- .name = #hookname, .entries = NULL, \
+ .name = #hookname, \
+ .entries = NULL, \
}; \
static int hook_call_##hookname arglist \
{ \