gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnunet] branch master updated: -fix signatures, copy is copy, thus no c


From: gnunet
Subject: [gnunet] branch master updated: -fix signatures, copy is copy, thus no const
Date: Mon, 30 Dec 2024 14:10:56 +0100

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new d8c428c89 -fix signatures, copy is copy, thus no const
d8c428c89 is described below

commit d8c428c897217cf1249cb054e15d2f79d00534b9
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Mon Dec 30 14:10:49 2024 +0100

    -fix signatures, copy is copy, thus no const
---
 src/lib/json/json_helper.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/lib/json/json_helper.c b/src/lib/json/json_helper.c
index 7329f9b61..8cd83d67d 100644
--- a/src/lib/json/json_helper.c
+++ b/src/lib/json/json_helper.c
@@ -516,7 +516,7 @@ parse_array_const (void *cls,
 
 struct GNUNET_JSON_Specification
 GNUNET_JSON_spec_array_const (const char *name,
-                              json_t **jsonp)
+                              const json_t **jsonp)
 {
   struct GNUNET_JSON_Specification ret = {
     .parser = &parse_array_const,
@@ -556,7 +556,7 @@ parse_array_copy (void *cls,
 
 struct GNUNET_JSON_Specification
 GNUNET_JSON_spec_array_copy (const char *name,
-                             const json_t **jsonp)
+                             json_t **jsonp)
 {
   struct GNUNET_JSON_Specification ret = {
     .parser = &parse_array_copy,

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]