[PATCH wayland] scanner: Standardize return annotation

Yong Bakos junk at humanoriented.com
Tue Sep 6 13:36:20 UTC 2016


From: Yong Bakos <ybakos at humanoriented.com>

All the doxygen annotations for return values use \return.

Match this annotation with the existing convention.

Signed-off-by: Yong Bakos <ybakos at humanoriented.com>
---
 src/scanner.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/scanner.c b/src/scanner.c
index c927275..0a348e5 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
+ * \return -1 on error, or a non-negative integer on success
  */
 static int
 strtouint(const char *str)
-- 
2.7.2



More information about the wayland-devel mailing list