diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-07-27 11:50:21 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-07-27 11:50:21 +0200 |
commit | 740355cd63dcd248d7cfd75129dc67e7667ecfe9 (patch) | |
tree | e8b3a1bfbf30e3644294a7108d94dc0a9169eaf7 /src/include/gnunet_json_lib.h | |
parent | 8703a0516f92819ea97d991984540332c061fe17 (diff) | |
download | gnunet-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.h | 2 |
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 | */ |
130 | int | 130 | enum GNUNET_GenericReturnValue |
131 | GNUNET_JSON_parse (const json_t *root, | 131 | GNUNET_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, |