@@ -18,12 +18,7 @@
#include "xtables.h"
#include "libiptc/libip6tc.h"
#include "ip6tables-multi.h"
-
-#ifdef DEBUG
-#define DEBUGP(x, args...) fprintf(stderr, x, ## args)
-#else
-#define DEBUGP(x, args...)
-#endif
+#include "trace.h"
static int binary = 0, counters = 0, verbose = 0, noflush = 0;
@@ -15,12 +15,7 @@
#include "xtables.h"
#include "libiptc/libiptc.h"
#include "iptables-multi.h"
-
-#ifdef DEBUG
-#define DEBUGP(x, args...) fprintf(stderr, x, ## args)
-#else
-#define DEBUGP(x, args...)
-#endif
+#include "trace.h"
static int binary = 0, counters = 0, verbose = 0, noflush = 0;
@@ -16,12 +16,7 @@
#include "libiptc/libiptc.h"
#include "xtables-multi.h"
#include <xtables.h>
-
-#ifdef DEBUG
-#define DEBUGP(x, args...) fprintf(stderr, x, ## args)
-#else
-#define DEBUGP(x, args...)
-#endif
+#include "trace.h"
struct xtables_globals iptables_xml_globals = {
.option_offset = 0,
Signed-off-by: Alexey Perevalov <a.perevalov@samsung.com> --- iptables/ip6tables-restore.c | 7 +------ iptables/iptables-restore.c | 7 +------ iptables/iptables-xml.c | 7 +------ 3 files changed, 3 insertions(+), 18 deletions(-)