[GRASS-SVN] r57238 - grass/trunk/include/defs

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Jul 21 08:59:09 PDT 2013


Author: glynn
Date: 2013-07-21 08:59:08 -0700 (Sun, 21 Jul 2013)
New Revision: 57238

Modified:
   grass/trunk/include/defs/glocale.h
Log:
Add format_arg attribute to G_gettext()


Modified: grass/trunk/include/defs/glocale.h
===================================================================
--- grass/trunk/include/defs/glocale.h	2013-07-21 08:54:51 UTC (rev 57237)
+++ grass/trunk/include/defs/glocale.h	2013-07-21 15:59:08 UTC (rev 57238)
@@ -2,6 +2,6 @@
 #define GRASS_GLOCALEDEFS_H
 
 extern void G_init_locale(void);
-extern char *G_gettext(const char *, const char *);
+extern char *G_gettext(const char *, const char *) __attribute__((format_arg (2)));
 
 #endif



More information about the grass-commit mailing list