From: Waldemar Kozaczuk <[email protected]> Committer: Waldemar Kozaczuk <[email protected]> Branch: master
tests: fix style issues in tst-kill.cc Signed-off-by: Waldemar Kozaczuk <[email protected]> --- diff --git a/tests/tst-kill.cc b/tests/tst-kill.cc --- a/tests/tst-kill.cc +++ b/tests/tst-kill.cc @@ -26,15 +26,17 @@ static void report(bool ok, const char* msg) int global = 0; -void handler1(int sig) { +void handler1(int sig) +{ printf("handler1 called, sig=%d, global=%d\n", sig, global); global = 1; } // Test kill() on the current process, sending // "pid" to kill should cause this process to be interrupted // and signal handler for SIGUSR1 should already be installed -void test_signal_self(pid_t pid){ +void test_signal_self(pid_t pid) +{ int r; char output[64]; @@ -52,7 +54,8 @@ void test_signal_self(pid_t pid){ } // test kill() edges cases, pid should be a valid pid -void test_edge_cases(pid_t pid){ +void test_edge_cases(pid_t pid) +{ int r; char output[64]; -- You received this message because you are subscribed to the Google Groups "OSv Development" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/osv-dev/000000000000e3c61705c363b10b%40google.com.
