From ab273821ee0bf2c46ad9051266d3731cbc31b03b Mon Sep 17 00:00:00 2001 From: joshaber Date: Tue, 8 Dec 2015 11:58:19 -0500 Subject: [PATCH] Play nice with the docs. --- include/git2/submodule.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/include/git2/submodule.h b/include/git2/submodule.h index 96187b0e1..bc94eacaa 100644 --- a/include/git2/submodule.h +++ b/include/git2/submodule.h @@ -110,11 +110,10 @@ typedef enum { /** * Function pointer to receive each submodule * - * `sm` is the `git_submodule` currently being visited. - * - * `name` is the name of the submodule. - * - * `payload` is the value you passed to the foreach function as payload. + * @param sm git_submodule currently being visited + * @param name name of the submodule + * @param payload value you passed to the foreach function as payload + * @return 0 on success or error code */ typedef int (*git_submodule_cb)( git_submodule *sm, const char *name, void *payload);