aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_json_lib.h
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/include/gnunet_json_lib.h
parent8703a0516f92819ea97d991984540332c061fe17 (diff)
downloadgnunet-740355cd63dcd248d7cfd75129dc67e7667ecfe9.tar.gz
gnunet-740355cd63dcd248d7cfd75129dc67e7667ecfe9.zip
use better return type
Diffstat (limited to 'src/include/gnunet_json_lib.h')
-rw-r--r--src/include/gnunet_json_lib.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/gnunet_json_lib.h b/src/include/gnunet_json_lib.h
index 95d136239..07a14d329 100644
--- a/src/include/gnunet_json_lib.h
+++ b/src/include/gnunet_json_lib.h
@@ -127,7 +127,7 @@ struct GNUNET_JSON_Specification
127 * @param[out] which index into @a spec did we encounter an error 127 * @param[out] which index into @a spec did we encounter an error
128 * @return #GNUNET_OK on success, #GNUNET_SYSERR on error 128 * @return #GNUNET_OK on success, #GNUNET_SYSERR on error
129 */ 129 */
130int 130enum GNUNET_GenericReturnValue
131GNUNET_JSON_parse (const json_t *root, 131GNUNET_JSON_parse (const json_t *root,
132 struct GNUNET_JSON_Specification *spec, 132 struct GNUNET_JSON_Specification *spec,
133 const char **error_json_name, 133 const char **error_json_name,