Remove all uses of G_CONST_RETURN
[platform/upstream/glib.git] / gmodule / gmodule.c
index 2d7f410..3e076ec 100644 (file)
@@ -598,7 +598,7 @@ g_module_make_resident (GModule *module)
   module->is_resident = TRUE;
 }
 
-G_CONST_RETURN gchar*
+const gchar *
 g_module_error (void)
 {
   return g_static_private_get (&module_error_private);
@@ -648,7 +648,7 @@ g_module_symbol (GModule    *module,
   return !module_error;
 }
 
-G_CONST_RETURN gchar*
+const gchar *
 g_module_name (GModule *module)
 {
   g_return_val_if_fail (module != NULL, NULL);
@@ -663,7 +663,7 @@ g_module_name (GModule *module)
 
 #undef g_module_name
 
-G_CONST_RETURN gchar*
+const gchar *
 g_module_name (GModule *module)
 {
   g_return_val_if_fail (module != NULL, NULL);