[PATCH wayland v2] scanner: Remove return doxygen annotation

Bryce Harrington bryce at osg.samsung.com
Thu Sep 8 06:44:01 UTC 2016


On Wed, Sep 07, 2016 at 06:25:27AM -0700, Yong Bakos wrote:
> From: Yong Bakos <ybakos at humanoriented.com>
> 
> Replace \returns with just Returns, as this is not a doxygen comment block.
> (Avoids differing with the existing convention of \return for return values.)
> 
> Signed-off-by: Yong Bakos <ybakos at humanoriented.com>
Reviewed-by: Bryce Harrington <bryce at osg.samsung.com>
> ---
> v2: Just remove the doxygen annotation (whot)
> 
>  src/scanner.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/scanner.c b/src/scanner.c
> index c927275..3f181cd 100644
> --- a/src/scanner.c
> +++ b/src/scanner.c
> @@ -586,7 +586,7 @@ free_interface(struct interface *interface)
>   *
>   * Upon error, this routine does not modify or set errno.
>   *
> - * \returns -1 on error, or a non-negative integer on success
> + * Returns -1 on error, or a non-negative integer on success
>   */
>  static int
>  strtouint(const char *str)
> --
> 2.7.2
> 
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/wayland-devel


More information about the wayland-devel mailing list