From 6f123e5665a42830826910f918ae64a7d9ff904e Mon Sep 17 00:00:00 2001 From: Jeremy Baxter Date: Thu, 14 Mar 2024 10:29:53 +1300 Subject: [PATCH] process: add clang-format on comment --- lprocess.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lprocess.c b/lprocess.c index 9c5fc3c..94325ce 100644 --- a/lprocess.c +++ b/lprocess.c @@ -23,6 +23,7 @@ #define PROCESS_MAX 256 /* clang-format off */ + static const int signals[] = { SIGHUP, SIGINT, @@ -76,6 +77,7 @@ static const int signals[] = { SIGUSR2, -1 /* end */ }; + static const char *sigstrs[] = { [SIGHUP] = "SIGHUP", [SIGINT] = "SIGINT", @@ -129,6 +131,8 @@ static const char *sigstrs[] = { [SIGUSR2] = "SIGUSR2" }; +/* clang-format on */ + /*** * Returns the PID of the current process. *