summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJose Bollo <jose.bollo@iot.bzh>2018-07-25 15:09:07 +0200
committerJose Bollo <jose.bollo@iot.bzh>2018-07-25 15:12:48 +0200
commitfe9601cbf6bbebe9464bfbde2efd0ec278b3e243 (patch)
tree4f142f16316bde56c8d679c498d855f312e06812
parent8d95d38217977f95f7cae3685f8639ac040da443 (diff)
Fix tiny documentation bug
Change-Id: Ib11160a8137480af92c450b65039b1272084f2d6 Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
-rw-r--r--docs/reference-v3/func-api.md4
-rw-r--r--include/afb/afb-api-x3.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/docs/reference-v3/func-api.md b/docs/reference-v3/func-api.md
index 2f836cab..535bff85 100644
--- a/docs/reference-v3/func-api.md
+++ b/docs/reference-v3/func-api.md
@@ -579,9 +579,9 @@ struct sd_bus *afb_api_get_system_bus(
* @param info the brief description of the new api (can be NULL)
* @param noconcurrency zero or not zero whether the new api is reentrant or not
* @param preinit the pre-initialization function if any (can be NULL)
- * @param closure the closure for the pre-initialization \ref preinit
+ * @param closure the closure for the pre-initialization preinit
*
- * @return 0 in case of success or -1 on failure with errno set
+ * @return the created api in case of success or NULL on error
*
* @see afb_api_delete_api
*/
diff --git a/include/afb/afb-api-x3.h b/include/afb/afb-api-x3.h
index 9f06172b..03461350 100644
--- a/include/afb/afb-api-x3.h
+++ b/include/afb/afb-api-x3.h
@@ -549,9 +549,9 @@ int afb_api_x3_call_sync_legacy(
* @param info the brief description of the new api (can be NULL)
* @param noconcurrency zero or not zero whether the new api is reentrant or not
* @param preinit the pre-initialization function if any (can be NULL)
- * @param closure the closure for the pre-initialization \ref preinit
+ * @param closure the closure for the pre-initialization preinit
*
- * @return 0 in case of success or -1 on failure with errno set
+ * @return the created api in case of success or NULL on error
*
* @see afb_api_x3_delete_api
*/