process: add clang-format on comment

This commit is contained in:
Jeremy Baxter 2024-03-14 10:29:53 +13:00
parent 30a1097bb0
commit 6f123e5665

View file

@ -23,6 +23,7 @@
#define PROCESS_MAX 256 #define PROCESS_MAX 256
/* clang-format off */ /* clang-format off */
static const int signals[] = { static const int signals[] = {
SIGHUP, SIGHUP,
SIGINT, SIGINT,
@ -76,6 +77,7 @@ static const int signals[] = {
SIGUSR2, SIGUSR2,
-1 /* end */ -1 /* end */
}; };
static const char *sigstrs[] = { static const char *sigstrs[] = {
[SIGHUP] = "SIGHUP", [SIGHUP] = "SIGHUP",
[SIGINT] = "SIGINT", [SIGINT] = "SIGINT",
@ -129,6 +131,8 @@ static const char *sigstrs[] = {
[SIGUSR2] = "SIGUSR2" [SIGUSR2] = "SIGUSR2"
}; };
/* clang-format on */
/*** /***
* Returns the PID of the current process. * Returns the PID of the current process.
* *