From 973ae30e7c4f7a1afb385dd3d8eeea178f981445 Mon Sep 17 00:00:00 2001 From: Jannis Hoffmann Date: Mon, 8 Jul 2024 13:24:39 +0200 Subject: fix deprecated prototypes --- src/qmail-start.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/qmail-start.c') diff --git a/src/qmail-start.c b/src/qmail-start.c index d6a90a8..c80761b 100644 --- a/src/qmail-start.c +++ b/src/qmail-start.c @@ -17,7 +17,7 @@ char *(qlargs[]) = {"qmail-lspawn", "./Mailbox", 0}; char *(qrargs[]) = {"qmail-rspawn", 0}; char *(qtargs[]) = {"qmail-todo", 0}; -void die() +static void die() { _exit(111); } @@ -34,7 +34,7 @@ int pi8[2]; int pi9[2]; int pi10[2]; -void closefds() +static void closefds() { close(2); close(3); @@ -45,7 +45,7 @@ void closefds() close(8); } -void closepipes() +static void closepipes() { close(pi1[0]); close(pi1[1]); -- cgit v1.2.3