tree: add clang-format off labels

When I figure out how to make clang-format ignore struct array
initialisers, I'll get rid of this.
This commit is contained in:
Jeremy Baxter 2024-03-12 12:19:23 +13:00
parent 3c53685e4a
commit 669eb3fd28
5 changed files with 11 additions and 1 deletions

View file

@ -22,7 +22,7 @@
#define PID_MAX 8 /* rounded to the nearest even number */
#define PROCESS_MAX 256
/* signals */
/* clang-format off */
static const int signals[] = {
SIGHUP,
SIGINT,
@ -357,6 +357,8 @@ process_terminate(lua_State *L)
return sigsend(L, pid, "SIGTERM");
}
/* clang-format off */
static const luaL_Reg proclib[] = {
{"kill", process_kill},
{"pid", process_pid},