[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Log warning!
From: |
rory |
Subject: |
Re: Log warning! |
Date: |
Thu, 5 Jun 2003 02:02:31 -0700 (PDT) |
Perfect! I was planning on defining a new log interface that passed
priority (which gets set in the syslog call, or printed in the logfile
call). Then, I was going to slowly migrate all the log calls over.
So, why don't we call it writeLog(int priority, format...);
> Hi!
>
> I just moved my monit dev tree to my laptop (debian unstable,
> gcc-3.3). And it just threw me a warning,
>
> monitor.h:391: warning: conflicting types for built-in function `log'
>
> Of course it referrers to the nonlinear mathematical function, which is
> not even included by us (and not even -lm).
>
> Shall we change this perfect name to something non-perfect? What
> about, lprintf (or logprintf) ... a bit long, but isn't it what it's
> about?
>
> CHopp
>
> --
> Christian Hopp email:
> address@hidden Institut für Elektrische Informationstechnik
> fon: +49-5323-72-2113 TU Clausthal, Leibnizstr. 28, 38678
> Clausthal-Zellerf. fax: +49-5323-72-3197
> pgpkey:
> https://www.iei.tu-clausthal.de/pgp-keys/
>
>
>
> _______________________________________________
> monit-dev mailing list
> address@hidden
> http://mail.nongnu.org/mailman/listinfo/monit-dev