util: Fix function declaration style of write_pidfile()

Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
This commit is contained in:
Stefano Brivio 2022-03-25 12:28:41 +01:00
parent 415ccf6116
commit 3e4c2d1098

3
util.c
View file

@ -544,7 +544,8 @@ int ns_enter(struct ctx *c)
* @fd: Open PID file descriptor, closed on exit, -1 to skip writing it * @fd: Open PID file descriptor, closed on exit, -1 to skip writing it
* @pid: PID value to write * @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]; char pid_buf[12];
int n; int n;