diff options
author | Christian Grothoff <christian@grothoff.org> | 2022-12-05 12:55:15 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2022-12-05 12:55:15 +0100 |
commit | 597c9950a34801ed80f3cdcb030c20950cb55e9b (patch) | |
tree | ccf8177b6f09a9f442ea9803686f76f52b3c4f4d /src/util | |
parent | 461dc8e36ccc2e31799087bee4604c33bee9afc6 (diff) | |
download | exchange-597c9950a34801ed80f3cdcb030c20950cb55e9b.tar.xz |
adapt build to latest GNUnet without gnunet/platform.h
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/amount.c | 4 | ||||
-rw-r--r-- | src/util/util.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/util/amount.c b/src/util/amount.c index 43116af85..d5698e8b6 100644 --- a/src/util/amount.c +++ b/src/util/amount.c @@ -553,8 +553,8 @@ const char * TALER_amount2s (const struct TALER_Amount *amount) { /* 24 is sufficient for a uint64_t value in decimal; 3 is for ":.\0" */ - static GNUNET_THREAD_LOCAL char result[TALER_AMOUNT_FRAC_LEN - + TALER_CURRENCY_LEN + 3 + 24]; + static TALER_THREAD_LOCAL char result[TALER_AMOUNT_FRAC_LEN + + TALER_CURRENCY_LEN + 3 + 24]; struct TALER_Amount norm; if (GNUNET_YES != TALER_amount_is_valid (amount)) diff --git a/src/util/util.c b/src/util/util.c index 2b8c9d952..5321b31ed 100644 --- a/src/util/util.c +++ b/src/util/util.c @@ -28,7 +28,7 @@ const char * TALER_b2s (const void *buf, size_t buf_size) { - static GNUNET_THREAD_LOCAL char ret[9]; + static TALER_THREAD_LOCAL char ret[9]; struct GNUNET_HashCode hc; char *tmp; |