aboutsummaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2014-05-06 15:25:01 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2014-05-12 14:02:43 +0200
commit72ae546dd45ddb1dc34ab7bccdd5a7cbe9f6397e (patch)
treed6e083a10356792a58d2d29efb47b1051e3ecc62 /src/util.h
parent26ceac4acf070ab589d25d05cd5e90e8fd721a69 (diff)
downloadbitcoin-72ae546dd45ddb1dc34ab7bccdd5a7cbe9f6397e.tar.xz
Remove dummy PRIszX macros for formatting
Size specifiers are no longer needed now that we use typesafe tinyformat for string formatting, instead of the system's sprintf. No functional changes. This continues the work in #3735. Rebased-By: Wladimir J. van der Laan <laanwj@gmail.com> Rebased-From: 783b182
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 fbd841f7a8..55d9308ab6 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>