From 913e08b728cbc8c85cad2751d6837a7c502eb355 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 17 Jul 2020 17:45:43 +0200 Subject: remove const --- src/identity/identity_api.c | 4 ++-- src/include/gnunet_identity_service.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/identity/identity_api.c b/src/identity/identity_api.c index 5d17ac5d5..f7aca1655 100644 --- a/src/identity/identity_api.c +++ b/src/identity/identity_api.c @@ -150,9 +150,9 @@ struct GNUNET_IDENTITY_Handle /** * Obtain the ego representing 'anonymous' users. * - * @return handle for the anonymous user, must not be freed + * @return handle for the anonymous user, MUST NOT be freed */ -const struct GNUNET_IDENTITY_Ego * +struct GNUNET_IDENTITY_Ego * GNUNET_IDENTITY_ego_get_anonymous () { static struct GNUNET_IDENTITY_Ego anon; diff --git a/src/include/gnunet_identity_service.h b/src/include/gnunet_identity_service.h index f4e653598..94127248e 100644 --- a/src/include/gnunet_identity_service.h +++ b/src/include/gnunet_identity_service.h @@ -86,9 +86,9 @@ GNUNET_IDENTITY_ego_get_private_key (const struct GNUNET_IDENTITY_Ego *ego); /** * Obtain the ego representing 'anonymous' users. * - * @return handle for the anonymous user, must not be freed + * @return handle for the anonymous user, MUST NOT be freed */ -const struct GNUNET_IDENTITY_Ego * +struct GNUNET_IDENTITY_Ego * GNUNET_IDENTITY_ego_get_anonymous (void); -- cgit v1.2.3