From dc5564eb36462b29de4a0dbf85ef9f91df2eecca Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Tue, 25 Jun 2024 15:43:52 +0200 Subject: executor: prohibit malloc/calloc via linter We include a number of C++ headers in the runnner. On FreeBSD some of them mention malloc, and our defines break the build. Use the style test to check only our files for these things. --- executor/common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'executor/common.h') diff --git a/executor/common.h b/executor/common.h index 243d388c2..a38768536 100644 --- a/executor/common.h +++ b/executor/common.h @@ -53,7 +53,7 @@ typedef signed int ssize_t; #endif NORETURN void doexit(int status) { - _exit(status); + _exit(status); // prevent linter warning: doexit() for (;;) { } } -- cgit mrf-deployment