diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2020-10-08 01:29:12 -0700 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2020-10-08 01:29:12 -0700 |
commit | a031634bd64c7f30c4ace5ca06a5a47600b42f47 (patch) | |
tree | 919e13ed1ba2e6443fe952288085576322748405 /src/rmd_register_callbacks.c | |
parent | bd53002a2bf51d48992613601719d180fed09975 (diff) |
*: more cosmetic formatting cleanups
Making things a bit more consistent
Diffstat (limited to 'src/rmd_register_callbacks.c')
-rw-r--r-- | src/rmd_register_callbacks.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/rmd_register_callbacks.c b/src/rmd_register_callbacks.c index 33e04dd..a359297 100644 --- a/src/rmd_register_callbacks.c +++ b/src/rmd_register_callbacks.c @@ -40,13 +40,13 @@ static int *pdata_aborted = NULL; static int *pdata_pause_state_changed = NULL; -static void rmdSetPaused(int signum) { - +static void rmdSetPaused(int signum) +{ *pdata_pause_state_changed = TRUE; } -static void rmdSetRunning(int signum) { - +static void rmdSetRunning(int signum) +{ if (!*pdata_paused) { *pdata_running = FALSE; @@ -57,8 +57,8 @@ static void rmdSetRunning(int signum) { } } -void rmdRegisterCallbacks(ProgData *pdata) { - +void rmdRegisterCallbacks(ProgData *pdata) +{ struct sigaction pause_act; struct sigaction end_act; |