[exim-dev] [Bug 1107] Git master does not build "conflicting…

Pàgina inicial
Delete this message
Reply to this message
Autor: Git Commit
Data:  
A: exim-dev
Assumpte: [exim-dev] [Bug 1107] Git master does not build "conflicting types for 'log_write'"
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1107

Git Commit <git@???> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |git@???





--- Comment #2 from Git Commit <git@???> 2011-05-05 03:17:27 ---
Git commit:
http://git.exim.org/exim.git/commitdiff/ad2f0c19ffa5056fee65fdc36554e35ed1b86db8

commit ad2f0c19ffa5056fee65fdc36554e35ed1b86db8
Author:     Phil Pennock <pdp@???>
AuthorDate: Wed May 4 21:41:58 2011 -0400
Commit:     Phil Pennock <pdp@???>
CommitDate: Wed May 4 21:41:58 2011 -0400


    Fix compile of exim_monitor


    The "Compiler masochism compliance" patch changed the log_write()
    prototype to use "const char *" instead of "char *"; I don't have X11 on
    my main box, so neglected to handle exim_monitor's duplicate definition
    of log_write().


    Fixes bug 1107
---
 src/exim_monitor/em_main.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/src/exim_monitor/em_main.c b/src/exim_monitor/em_main.c
index 187dba3..4692fa7 100644
--- a/src/exim_monitor/em_main.c
+++ b/src/exim_monitor/em_main.c
@@ -168,7 +168,7 @@ Returns:    nothing
 */


void
-log_write(unsigned int selector, int flags, char *format, ...)
+log_write(unsigned int selector, int flags, const char *format, ...)
{
va_list ap;
va_start(ap, format);


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email