From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Brivio To: passt-dev@passt.top Subject: [PATCH 23/24] util: Fix function declaration style of write_pidfile() Date: Fri, 25 Mar 2022 23:52:59 +0100 Message-ID: <20220325225300.2803584-24-sbrivio@redhat.com> In-Reply-To: <20220325225300.2803584-1-sbrivio@redhat.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0931129329748793930==" --===============0931129329748793930== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Signed-off-by: Stefano Brivio --- util.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/util.c b/util.c index ff7d97b..0adc6b9 100644 --- a/util.c +++ b/util.c @@ -544,7 +544,8 @@ int ns_enter(struct ctx *c) * @fd: Open PID file descriptor, closed on exit, -1 to skip writing it * @pid: PID value to write */ -void write_pidfile(int fd, pid_t pid) { +void write_pidfile(int fd, pid_t pid) +{ char pid_buf[12]; int n; -- 2.35.1 --===============0931129329748793930==--