aboutsummaryrefslogtreecommitdiff
path: root/src/json
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-07-27 11:50:21 +0200
committerChristian Grothoff <christian@grothoff.org>2020-07-27 11:50:21 +0200
commit740355cd63dcd248d7cfd75129dc67e7667ecfe9 (patch)
treee8b3a1bfbf30e3644294a7108d94dc0a9169eaf7 /src/json
parent8703a0516f92819ea97d991984540332c061fe17 (diff)
downloadgnunet-740355cd63dcd248d7cfd75129dc67e7667ecfe9.tar.gz
gnunet-740355cd63dcd248d7cfd75129dc67e7667ecfe9.zip
use better return type
Diffstat (limited to 'src/json')
-rw-r--r--src/json/json.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/json/json.c b/src/json/json.c
index f6d2406c4..0631c51bb 100644
--- a/src/json/json.c
+++ b/src/json/json.c
@@ -41,7 +41,7 @@
41 * @param[out] which index into @a spec did we encounter an error 41 * @param[out] which index into @a spec did we encounter an error
42 * @return #GNUNET_OK on success, #GNUNET_SYSERR on error 42 * @return #GNUNET_OK on success, #GNUNET_SYSERR on error
43 */ 43 */
44int 44enum GNUNET_GenericReturnValue
45GNUNET_JSON_parse (const json_t *root, 45GNUNET_JSON_parse (const json_t *root,
46 struct GNUNET_JSON_Specification *spec, 46 struct GNUNET_JSON_Specification *spec,
47 const char **error_json_name, 47 const char **error_json_name,