#define G_WRITE_UNLOCK(rw_lock) g_static_rw_lock_writer_unlock (rw_lock)
#endif
#define INVALID_RECURSION(func, arg, type_name) G_STMT_START{ \
- static const gchar *_action = " invalidly modified type "; \
+ static const gchar _action[] = " invalidly modified type "; \
gpointer _arg = (gpointer) (arg); const gchar *_tname = (type_name), *_fname = (func); \
if (_arg) \
g_error ("%s(%p)%s`%s'", _fname, _arg, _action, _tname); \
static gboolean
check_type_name_I (const gchar *type_name)
{
- static const gchar *extra_chars = "-_+";
+ static const gchar extra_chars[] = "-_+";
const gchar *p = type_name;
gboolean name_valid;