1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
|
From: Stephen R. van den Berg <srb@cuci.nl>
Subject: Eliminate warnings
Date: 2020-05-05
Origin: https://github.com/BuGlessRB/procmail/commit/a39ebad8b487f43b1cc97db1c0dcf2d2cc122de3
X-Debian-version: 3.24+really3.22-2
--- a/src/foldinfo.c
+++ b/src/foldinfo.c
@@ -11,6 +11,7 @@
"$Id: foldinfo.c,v 1.11 2001/08/04 07:07:42 guenther Exp $";
#endif
#include "procmail.h"
+#include "acommon.h"
#include "misc.h"
#include "lastdirsep.h"
#include "robust.h"
--- a/src/locking.h
+++ b/src/locking.h
@@ -6,7 +6,7 @@
lockit P((char*name,char**const lockp)),
lcllock P((const char*const noext,const char*const withext)),
xcreat Q((const char*const name,const mode_t mode,time_t*const tim,
- const chownit));
+ const int chownit));
#ifdef NOfcntl_lock
#ifndef USElockf
--- a/src/robust.h
+++ b/src/robust.h
@@ -14,7 +14,7 @@
sfork P((void));
int
opena P((const char*const a)),
- ropen Q((const char*const name,const mode,const mode_t mask)),
+ ropen Q((const char*const name,const int mode,const mode_t mask)),
rpipe P((int fd[2])),
rdup P((const int p)),
rclose P((const int fd)),
|