summaryrefslogtreecommitdiff
path: root/src/qmail-queue.c
diff options
context:
space:
mode:
authorJannis Hoffmann <jannis@fehcom.de>2024-07-08 13:24:39 +0200
committerJannis Hoffmann <jannis@fehcom.de>2024-07-08 13:24:39 +0200
commit973ae30e7c4f7a1afb385dd3d8eeea178f981445 (patch)
tree1a5d8be5b3ff273a141b6144bf3031b1bc3deb2d /src/qmail-queue.c
parent66404f0bfbd78e635ff6381ca30b25157e0e1a09 (diff)
fix deprecated prototypes
Diffstat (limited to 'src/qmail-queue.c')
-rw-r--r--src/qmail-queue.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/qmail-queue.c b/src/qmail-queue.c
index fe75ffa..9bb0ab1 100644
--- a/src/qmail-queue.c
+++ b/src/qmail-queue.c
@@ -19,7 +19,7 @@
#include "extra.h"
#include "fmtqfn.h"
#include "now.h"
-#include "triggerpull.h"
+#include "trigger.h"
#ifdef USE_CONFIG
#include "fehsqm-config.h"
@@ -51,7 +51,7 @@ int intdfd;
int flagmademess = 0;
int flagmadeintd = 0;
-void cleanup()
+static void cleanup()
{
if (flagmadeintd) {
seek_trunc(intdfd, 0);
@@ -63,35 +63,35 @@ void cleanup()
}
}
-void die(int e)
+static void die(int e)
{
_exit(e);
}
-void die_qhpsi()
+static void die_qhpsi()
{
cleanup();
die(71);
}
-void die_write()
+static void die_write()
{
cleanup();
die(53);
}
-void die_read()
+static void die_read()
{
cleanup();
die(54);
}
-void sigalrm()
+static void sigalrm()
{ /* thou shalt not clean up here */
die(52);
}
-void sigbug()
+static void sigbug()
{
die(81);
}
@@ -144,7 +144,7 @@ static unsigned int receivedfmt(char *s)
return len;
}
-void received_setup()
+static void received_setup()
{
receivedlen = receivedfmt((char *)0);
received = alloc(receivedlen + 1);
@@ -152,7 +152,7 @@ void received_setup()
receivedfmt(received);
}
-unsigned int pidfmt(char *s, unsigned long seq)
+static unsigned int pidfmt(char *s, unsigned long seq)
{
unsigned int i;
unsigned int len;
@@ -182,7 +182,7 @@ unsigned int pidfmt(char *s, unsigned long seq)
return len;
}
-char *fnnum(char *dirslash, int flagsplit)
+static char *fnnum(char *dirslash, int flagsplit)
{
char *s;
@@ -192,7 +192,7 @@ char *fnnum(char *dirslash, int flagsplit)
return s;
}
-void pidopen(void)
+static void pidopen(void)
{
unsigned int len;
unsigned long seq;
@@ -214,7 +214,7 @@ void pidopen(void)
char *qhpsi;
-void qhpsiprog(char *arg)
+static void qhpsiprog(char *arg)
{
int wstat;
int child;