aboutsummaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2014-05-12 13:52:51 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2014-05-12 14:01:48 +0200
commitc3ad56f4e0b587d8d763af03d743fdfc2d180c9b (patch)
tree2d2b7e758ff288d0b273a33c9dc942f20e47a631 /src/util.h
parent68d5fb3cb3bf456735ff48c8caa5e4074ae8579a (diff)
parent783b182c8fa92674fa609b584c0b187469893ca4 (diff)
downloadbitcoin-c3ad56f4e0b587d8d763af03d743fdfc2d180c9b.tar.xz
Merge pull request #4138
783b182 Remove dummy PRIszX macros for formatting (Wladimir J. van der Laan)
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/util.h b/src/util.h
index 011a40e540..27a08716dd 100644
--- a/src/util.h
+++ b/src/util.h
@@ -44,18 +44,6 @@ static const int64_t CENT = 1000000;
#define UEND(a) ((unsigned char*)&((&(a))[1]))
#define ARRAYLEN(array) (sizeof(array)/sizeof((array)[0]))
-/* Format characters for (s)size_t, ptrdiff_t.
- *
- * Define these as empty as the tinyformat-based formatting system is
- * type-safe, no special format characters are needed to specify sizes.
- */
-#define PRIszx "x"
-#define PRIszu "u"
-#define PRIszd "d"
-#define PRIpdx "x"
-#define PRIpdu "u"
-#define PRIpdd "d"
-
// This is needed because the foreach macro can't get over the comma in pair<t1, t2>
#define PAIRTYPE(t1, t2) std::pair<t1, t2>