From caa4c9fdeb3aecd9a4288114e75d24ec931cd01b Mon Sep 17 00:00:00 2001 From: Ravi Nanjundappa Date: Mon, 27 Oct 2014 10:54:13 +0530 Subject: [PATCH] Fix warnings from check-doc-syntax.sh $ ./check-doc-syntax.sh Checking documentation for incorrect syntax ./cairo-pattern.c (3346): ERROR: Will bad line: ' */' ./cairo-pattern.c (3346): ERROR: Will documentation comment not closed with **/ ./cairo-pattern.c (3422): ERROR: _cairo_pattern_sampled_area invalid doc id (should be 'cairo_...:') The warnings are about the documentation style used in cairo Signed-off-by: Ravi Nanjundappa --- src/cairo-pattern.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cairo-pattern.c b/src/cairo-pattern.c index 010de5c30..4e3617af7 100644 --- a/src/cairo-pattern.c +++ b/src/cairo-pattern.c @@ -3343,7 +3343,7 @@ _cairo_pattern_is_clear (const cairo_pattern_t *abstract_pattern) * This is true for scales larger than 1. Also it was judged acceptable * for scales larger than .75. And if there is integer translation * then a scale of exactly .5 works. - */ + **/ static int use_bilinear(double x, double y, double t) { @@ -3419,7 +3419,7 @@ _cairo_hypot(double x, double y) } /** - * _cairo_pattern_sampled_area + * _cairo_pattern_sampled_area: * * Return region of @pattern that will be sampled to fill @extents, * based on the transformation and filter.