summaryrefslogtreecommitdiff
path: root/lib/hook.h
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2017-07-22 14:52:33 +0200
committerDavid Lamparter <equinox@opensourcerouting.org>2017-07-22 14:52:33 +0200
commit9d303b37d73b8fe2bef310d8d9ca1acad23c2501 (patch)
treebbe78c595bd8f42b76322df2a37cf81f60c08a6a /lib/hook.h
parentdceb5f8ac71a839389786f5040a50b8feec30156 (diff)
Revert "*: reindent pt. 2"
This reverts commit c14777c6bfd0a446c85243d3a9835054a259c276. clang 5 is not widely available enough for people to indent with. This is particularly problematic when rebasing/adjusting branches. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'lib/hook.h')
-rw-r--r--lib/hook.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/hook.h b/lib/hook.h
index da3419bd27..4a5cee2fd3 100644
--- a/lib/hook.h
+++ b/lib/hook.h
@@ -161,8 +161,7 @@ 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 \
{ \