[GRASS-SVN] r57681 - grass/branches/releasebranch_6_4/include

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Sep 13 22:45:26 PDT 2013


Author: hamish
Date: 2013-09-13 22:45:26 -0700 (Fri, 13 Sep 2013)
New Revision: 57681

Modified:
   grass/branches/releasebranch_6_4/include/glocale.h
Log:
Add format_arg attribute to G_gettext() (merge r57325 from devbr6)

Modified: grass/branches/releasebranch_6_4/include/glocale.h
===================================================================
--- grass/branches/releasebranch_6_4/include/glocale.h	2013-09-14 05:40:13 UTC (rev 57680)
+++ grass/branches/releasebranch_6_4/include/glocale.h	2013-09-14 05:45:26 UTC (rev 57681)
@@ -3,7 +3,7 @@
 
 #include <grass/config.h>
 
-extern char *G_gettext(const char *, const char *);
+extern char *G_gettext(const char *, const char *) __attribute__((format_arg (2)));
 
 #if defined(HAVE_LIBINTL_H) && defined(USE_NLS)
 #include <libintl.h>



More information about the grass-commit mailing list