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/json | |
parent | 8703a0516f92819ea97d991984540332c061fe17 (diff) | |
download | gnunet-740355cd63dcd248d7cfd75129dc67e7667ecfe9.tar.gz gnunet-740355cd63dcd248d7cfd75129dc67e7667ecfe9.zip |
use better return type
Diffstat (limited to 'src/json')
-rw-r--r-- | src/json/json.c | 2 |
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 | */ |
44 | int | 44 | enum GNUNET_GenericReturnValue |
45 | GNUNET_JSON_parse (const json_t *root, | 45 | GNUNET_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, |