Lines 1-14
Link Here
|
1 |
--- ../errmac.h.orig 2009-10-16 19:37:47.000000000 +0400 |
1 |
--- ../errmac.h.orig 2013-02-10 20:04:39.000000000 +0800 |
2 |
+++ ../errmac.h 2009-10-30 00:39:36.000000000 +0300 |
2 |
+++ ../errmac.h 2013-02-10 20:05:04.000000000 +0800 |
3 |
@@ -406,9 +406,9 @@ |
3 |
@@ -445,9 +445,9 @@ |
4 |
#define DD(format,...) /* Documentative */ |
4 |
#define DD_XML_BLOB(cf, lk, len, xml) /* Documentative */ |
5 |
|
5 |
|
6 |
int hexdmp(char* msg, char* p, int len, int max); |
6 |
int hexdmp(const char* msg, const char* p, int len, int max); |
7 |
-int hexdump(char* msg, char* p, char* lim, int max); |
7 |
-int hexdump(const char* msg, const char* p, const char* lim, int max); |
8 |
+int myhexdump(char* msg, char* p, char* lim, int max); |
8 |
+int myhexdump(const char* msg, const char* p, const char* lim, int max); |
9 |
|
9 |
|
10 |
-#define HEXDUMP(msg, p, lim, max) (zx_debug > 1 && hexdump((msg), (p), (lim), (max))) |
10 |
-#define HEXDUMP(msg, p, lim, max) if (zx_debug > 1) hexdump((msg), (p), (lim), (max)) |
11 |
+#define HEXDUMP(msg, p, lim, max) (zx_debug > 1 && myhexdump((msg), (p), (lim), (max))) |
11 |
+#define HEXDUMP(msg, p, lim, max) if (zx_debug > 1) myhexdump((msg), (p), (lim), (max)) |
12 |
#define DHEXDUMP(msg, p, lim, max) /* Disabled hex dump */ |
12 |
#define DHEXDUMP(msg, p, lim, max) /* Disabled hex dump */ |
13 |
|
13 |
|
14 |
#define ERR(format,...) (fprintf(stderr, "t %10s:%-3d %-16s %s E " format "\n", __FILE__, __LINE__, __FUNCTION__, ERRMAC_INSTANCE, __VA_ARGS__), fflush(stderr)) |
14 |
#define DUMP_CORE() ASSERT(0) |