summaryrefslogtreecommitdiffstats
path: root/lib/sigevent.c
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/sigevent.c
parent*: add git-reindent-branch.py (diff)
downloadfrr-9d303b37d73b8fe2bef310d8d9ca1acad23c2501.tar.xz
frr-9d303b37d73b8fe2bef310d8d9ca1acad23c2501.zip
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/sigevent.c')
-rw-r--r--lib/sigevent.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/sigevent.c b/lib/sigevent.c
index 2eebb47d6..2a04fa23c 100644
--- a/lib/sigevent.c
+++ b/lib/sigevent.c
@@ -207,14 +207,14 @@ exit_handler(int signo
,
siginfo_t *siginfo, void *context
#endif
-)
+ )
{
zlog_signal(signo, "exiting..."
#ifdef SA_SIGINFO
,
siginfo, program_counter(context)
#endif
- );
+ );
_exit(128 + signo);
}
@@ -224,7 +224,7 @@ core_handler(int signo
,
siginfo_t *siginfo, void *context
#endif
-)
+ )
{
/* make sure we don't hang in here. default for SIGALRM is terminate.
* - if we're in backtrace for more than a second, abort. */
@@ -243,7 +243,7 @@ core_handler(int signo
,
siginfo, program_counter(context)
#endif
- );
+ );
/* dump memory stats on core */
log_memstats_stderr("core_handler");
abort();
@@ -290,7 +290,7 @@ static void trap_default_signals(void)
,
siginfo_t *info, void *context
#endif
- );
+ );
} sigmap[] = {
{core_signals, array_size(core_signals), core_handler},
{exit_signals, array_size(exit_signals), exit_handler},