diff options
author | Florian Dold <florian@dold.me> | 2021-07-26 15:43:51 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2021-07-26 15:43:51 +0200 |
commit | 3f2cfc1d9c26afa625d8cb469d29e27f62d3f8cb (patch) | |
tree | 69abdddf0311775bafaa851e4975e824994fe51e /src/include/gnunet_json_lib.h | |
parent | e5b94227dfa1ceae8125530316103eacf17155e2 (diff) | |
download | gnunet-3f2cfc1d9c26afa625d8cb469d29e27f62d3f8cb.tar.gz gnunet-3f2cfc1d9c26afa625d8cb469d29e27f62d3f8cb.zip |
-fix FTBFS in json pack header
Diffstat (limited to 'src/include/gnunet_json_lib.h')
-rw-r--r-- | src/include/gnunet_json_lib.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/include/gnunet_json_lib.h b/src/include/gnunet_json_lib.h index 7cb687593..e962bd9cd 100644 --- a/src/include/gnunet_json_lib.h +++ b/src/include/gnunet_json_lib.h | |||
@@ -555,7 +555,7 @@ struct GNUNET_JSON_PackSpec | |||
555 | /** | 555 | /** |
556 | * Function that will do the packing. | 556 | * Function that will do the packing. |
557 | */ | 557 | */ |
558 | GNUNET_JSON_PackCallback packer; | 558 | GNUNET_JSON_PackCallback *packer; |
559 | 559 | ||
560 | /** | 560 | /** |
561 | * Closure for @e packer. | 561 | * Closure for @e packer. |
@@ -809,8 +809,8 @@ GNUNET_JSON_pack_time_rel (const char *name, | |||
809 | * @return json pack specification | 809 | * @return json pack specification |
810 | */ | 810 | */ |
811 | struct GNUNET_JSON_PackSpec | 811 | struct GNUNET_JSON_PackSpec |
812 | GNUNET_JSON_pack_time_rel (const char *name, | 812 | GNUNET_JSON_pack_time_rel_nbo (const char *name, |
813 | struct GNUNET_TIME_RelativeNBO rt); | 813 | struct GNUNET_TIME_RelativeNBO rt); |
814 | 814 | ||
815 | 815 | ||
816 | /** | 816 | /** |
@@ -835,8 +835,8 @@ GNUNET_JSON_pack_rsa_public_key (const char *name, | |||
835 | * @return json pack specification | 835 | * @return json pack specification |
836 | */ | 836 | */ |
837 | struct GNUNET_JSON_PackSpec | 837 | struct GNUNET_JSON_PackSpec |
838 | GNUNET_JSON_pack_ (const char *name, | 838 | GNUNET_JSON_pack_rsa_public_key_ (const char *name, |
839 | const struct GNUNET_CRYPTO_RsaSignature *sig); | 839 | const struct GNUNET_CRYPTO_RsaSignature *sig); |
840 | 840 | ||
841 | 841 | ||
842 | #endif | 842 | #endif |