init: Fix documentation about return values of void functions

Fixes T203

Signed-off-by: Jakub Jelen <jjelen@redhat.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
(cherry picked from commit b03818aaed)
This commit is contained in:
Jakub Jelen
2019-12-10 21:11:46 +01:00
committed by Andreas Schneider
parent 64ce53fdba
commit ac2f4853bb

View File

@@ -106,7 +106,6 @@ _ret:
* *
* This functions is automatically called when the library is loaded. * This functions is automatically called when the library is loaded.
* *
* @returns 0 on success, -1 if an error occured.
*/ */
void libssh_constructor(void) void libssh_constructor(void)
{ {
@@ -188,8 +187,6 @@ _ret:
* *
* This function is automatically called when the library is unloaded. * This function is automatically called when the library is unloaded.
* *
* @returns SSH_OK on success, SSH_ERROR if an error occurred.
*
*/ */
void libssh_destructor(void) void libssh_destructor(void)
{ {