Silence the compiler
[exim.git] / src / src / log.c
index c2ef698e7f976d3d245f56c54bc39e8f394f6a5f..11d25919767862596175bef3545320d958e5f8d0 100644 (file)
@@ -651,7 +651,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)))
@@ -1445,7 +1445,7 @@ unlink_log(lt_debug);
 }
 
 void
-open_logs(const char *m)
+open_logs(void)
 {
 set_file_path(NULL);
 open_log(&mainlogfd, lt_main, 0);