[glib] G_GNUC_FORMAT: documentation error



commit ec61deb79116c8b2364ef070f98ac9a222249f0c
Author: Simon Kågedal Reimer <skagedal gmail com>
Date:   Mon May 6 22:04:32 2013 +0200

    G_GNUC_FORMAT: documentation error
    
    Attribute should be placed just before the semicolon, not after.
    As can be seen in the example.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=699779

 glib/docs.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/glib/docs.c b/glib/docs.c
index 74a97e8..c7ae282 100644
--- a/glib/docs.c
+++ b/glib/docs.c
@@ -2171,7 +2171,7 @@
  * format function the same as they would have been for the unmodified
  * string).
  *
- * Place the attribute after the function declaration, just after the
+ * Place the attribute after the function declaration, just before the
  * semicolon.
  *
  * See the GNU C documentation for more details.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]