Gitweb:
https://git.exim.org/exim.git/commitdiff/b6b4b129892a99747a586e5d4acb68fe7176ab4b
Commit: b6b4b129892a99747a586e5d4acb68fe7176ab4b
Parent: 28d2eab1414ef8d20ff0fde7026aa52fd01ef795
Author: Heiko Schlittermann (HS12-RIPE) <hs@???>
AuthorDate: Sun Apr 25 18:58:35 2021 +0200
Committer: Heiko Schlittermann (HS12-RIPE) <hs@???>
CommitDate: Thu Jun 24 21:46:59 2021 +0200
Silence the compiler
(cherry picked from commit 33d5b8e8e4c2f23b4e834e3a095e3c9dd9f0686b)
---
src/src/log.c | 4 ++--
src/src/transports/appendfile.c | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/src/log.c b/src/src/log.c
index 90373ad..dff7d32 100644
--- a/src/src/log.c
+++ b/src/src/log.c
@@ -706,7 +706,7 @@ set_file_path(BOOL *multiple)
{
uschar *s;
int sep = ':'; /* Fixed separator - outside use */
-uschar *ss = *log_file_path ? log_file_path : LOG_FILE_PATH;
+const uschar *ss = *log_file_path ? log_file_path : US LOG_FILE_PATH;
logging_mode = 0;
while ((s = string_nextinlist(&ss, &sep, log_buffer, LOG_BUFFER_SIZE)))
@@ -1498,7 +1498,7 @@ unlink_log(lt_debug);
}
void
-open_logs(const char *m)
+open_logs(void)
{
set_file_path(NULL);
open_log(&mainlogfd, lt_main, 0);
diff --git a/src/src/transports/appendfile.c b/src/src/transports/appendfile.c
index da26187..5d957b6 100644
--- a/src/src/transports/appendfile.c
+++ b/src/src/transports/appendfile.c
@@ -175,7 +175,7 @@ Returns: OK, FAIL, or DEFER
*/
void
-openlogs();
+open_logs(void);
static int
appendfile_transport_setup(transport_instance *tblock, address_item *addrlist,
@@ -192,7 +192,7 @@ uid = uid;
gid = gid;
/* we can't wait until we're not privileged anymore */
-open_logs("appendfile");
+open_logs();
if (ob->expand_maildir_use_size_file)
ob->maildir_use_size_file = expand_check_condition(ob->expand_maildir_use_size_file,