gnunet

Main GNUnet Logic
Log | Files | Refs | Submodules | README | LICENSE

commit 59ea70ba2acd25d7a1ff287e04e7cffc3b6402dd
parent 3e7b01620fe4719811d6b29c4f87730783fe08e8
Author: t3sserakt <t3ss@posteo.de>
Date:   Wed, 18 Oct 2023 13:38:31 +0200

Hello: Changed signature of method GNUNET_HELLO_builder_get_id

Diffstat:
Msrc/hello/hello-uri.c | 4++--
Msrc/include/gnunet_hello_uri_lib.h | 4++--
2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/hello/hello-uri.c b/src/hello/hello-uri.c @@ -341,8 +341,8 @@ GNUNET_HELLO_builder_new (const struct GNUNET_PeerIdentity *pid) } -struct GNUNET_PeerIdentity * -GNUNET_HELLO_builder_get_id (struct GNUNET_HELLO_Builder *builder) +const struct GNUNET_PeerIdentity * +GNUNET_HELLO_builder_get_id (const struct GNUNET_HELLO_Builder *builder) { return &builder->pid; } diff --git a/src/include/gnunet_hello_uri_lib.h b/src/include/gnunet_hello_uri_lib.h @@ -72,8 +72,8 @@ GNUNET_HELLO_builder_new (const struct GNUNET_PeerIdentity *pid); /** * Get the PeerIdentity for this builder. */ -struct GNUNET_PeerIdentity * -GNUNET_HELLO_builder_get_id (struct GNUNET_HELLO_Builder *builder); +const struct GNUNET_PeerIdentity * +GNUNET_HELLO_builder_get_id (const struct GNUNET_HELLO_Builder *builder); /**