qemacs-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemacs-commit] qemacs/libqhtml css.c cssparse.c xmlparse.c


From: Charlie Gordon
Subject: [Qemacs-commit] qemacs/libqhtml css.c cssparse.c xmlparse.c
Date: Sun, 20 Apr 2008 11:54:36 +0000

CVSROOT:        /cvsroot/qemacs
Module name:    qemacs
Changes by:     Charlie Gordon <chqrlie>        08/04/20 11:54:36

Modified files:
        libqhtml       : css.c cssparse.c xmlparse.c 

Log message:
        use c99 syntax for varadic macros

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemacs/libqhtml/css.c?cvsroot=qemacs&r1=1.20&r2=1.21
http://cvs.savannah.gnu.org/viewcvs/qemacs/libqhtml/cssparse.c?cvsroot=qemacs&r1=1.17&r2=1.18
http://cvs.savannah.gnu.org/viewcvs/qemacs/libqhtml/xmlparse.c?cvsroot=qemacs&r1=1.20&r2=1.21

Patches:
Index: css.c
===================================================================
RCS file: /cvsroot/qemacs/qemacs/libqhtml/css.c,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -b -r1.20 -r1.21
--- css.c       15 Apr 2008 23:24:04 -0000      1.20
+++ css.c       20 Apr 2008 11:54:36 -0000      1.21
@@ -24,6 +24,7 @@
 
 //#define DEBUG
 
+#if 0
 #ifdef DEBUG
 #define dprintf(fmt, args...) printf(fmt, ##args)
 #else
@@ -31,6 +32,15 @@
 #define NDEBUG
 #endif
 #define ddprintf(fmt, args...)
+#else
+#ifdef DEBUG
+#define dprintf(fmt, ...)  printf(fmt, ##__VA_ARGS__)
+#else
+#define dprintf(...)
+#define NDEBUG
+#endif
+#define ddprintf(...)
+#endif
 
 #include <assert.h>
 

Index: cssparse.c
===================================================================
RCS file: /cvsroot/qemacs/qemacs/libqhtml/cssparse.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -b -r1.17 -r1.18
--- cssparse.c  15 Apr 2008 23:24:04 -0000      1.17
+++ cssparse.c  20 Apr 2008 11:54:36 -0000      1.18
@@ -24,6 +24,7 @@
 
 //#define DEBUG
 
+#if 0
 #ifdef DEBUG
 #define dprintf(fmt, args...) printf(fmt, ##args)
 #else
@@ -31,6 +32,15 @@
 #define NDEBUG
 #endif
 #define ddprintf(fmt, args...)
+#else
+#ifdef DEBUG
+#define dprintf(fmt, ...)  printf(fmt, ##__VA_ARGS__)
+#else
+#define dprintf(...)
+#define NDEBUG
+#endif
+#define ddprintf(...)
+#endif
 
 #include <assert.h>
 

Index: xmlparse.c
===================================================================
RCS file: /cvsroot/qemacs/qemacs/libqhtml/xmlparse.c,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -b -r1.20 -r1.21
--- xmlparse.c  15 Apr 2008 23:24:04 -0000      1.20
+++ xmlparse.c  20 Apr 2008 11:54:36 -0000      1.21
@@ -23,6 +23,7 @@
 
 //#define DEBUG
 
+#if 0
 #ifdef DEBUG
 #define dprintf(fmt, args...) printf(fmt, ##args)
 #else
@@ -30,6 +31,15 @@
 #define NDEBUG
 #endif
 #define ddprintf(fmt, args...)
+#else
+#ifdef DEBUG
+#define dprintf(fmt, ...)  printf(fmt, ##__VA_ARGS__)
+#else
+#define dprintf(...)
+#define NDEBUG
+#endif
+#define ddprintf(...)
+#endif
 
 #include <assert.h>
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]