OSSP CVS Repository

ossp - Check-in [3669]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 3669
Date: 2003-Nov-10 16:12:48 (local)
2003-Nov-10 15:12:48 (UTC)
User:thl
Branch:
Comment: remove non-generic code (possibly leaked from lmtp2nntp) as it violates prefix-safety and collides with Darwin log2() math function
Tickets:
Inspections:
Files:
ossp-pkg/l2/l2.h.in      1.31 -> 1.32     0 inserted, 7 deleted

ossp-pkg/l2/l2.h.in 1.31 -> 1.32

--- l2.h.in      2003/01/06 11:41:51     1.31
+++ l2.h.in      2003/11/10 15:12:48     1.32
@@ -104,13 +104,6 @@
    to and including a particular low level */
 #define L2_LEVEL_UPTO(level) (((level)-1)|(level))
 
-/* macros for easy logging */
-#define log0(ctx,level,msg)             l2_channel_log((ctx)->l2, L2_LEVEL_##level, "%P" msg)
-#define log1(ctx,level,msg,a1)          l2_channel_log((ctx)->l2, L2_LEVEL_##level, "%P" msg, a1)
-#define log2(ctx,level,msg,a1,a2)       l2_channel_log((ctx)->l2, L2_LEVEL_##level, "%P" msg, a1, a2)
-#define log3(ctx,level,msg,a1,a2,a3)    l2_channel_log((ctx)->l2, L2_LEVEL_##level, "%P" msg, a1, a2, a3)
-#define log4(ctx,level,msg,a1,a2,a3,a4) l2_channel_log((ctx)->l2, L2_LEVEL_##level, "%P" msg, a1, a2, a3, a4)
-
 /* list of return values */
 typedef enum {
     L2_OK,         /* everything ok */

CVSTrac 2.0.1