[GRASS-SVN] r57325 - grass/branches/develbranch_6/include

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Jul 29 14:21:23 PDT 2013


Author: hamish
Date: 2013-07-29 14:21:23 -0700 (Mon, 29 Jul 2013)
New Revision: 57325

Modified:
   grass/branches/develbranch_6/include/glocale.h
Log:
Add format_arg attribute to G_gettext() (backport r57238 from trunk)

Modified: grass/branches/develbranch_6/include/glocale.h
===================================================================
--- grass/branches/develbranch_6/include/glocale.h	2013-07-29 18:25:29 UTC (rev 57324)
+++ grass/branches/develbranch_6/include/glocale.h	2013-07-29 21:21:23 UTC (rev 57325)
@@ -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