mirror of
				https://gitlab.gnome.org/GNOME/glib.git
				synced 2025-11-04 01:58:54 +01:00 
			
		
		
		
	gmodule: Add some missing consts
Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
This commit is contained in:
		@@ -74,10 +74,10 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* --- functions --- */
 | 
					/* --- functions --- */
 | 
				
			||||||
static gchar*
 | 
					static const gchar *
 | 
				
			||||||
fetch_dlerror (gboolean replace_null)
 | 
					fetch_dlerror (gboolean replace_null)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
  gchar *msg = dlerror ();
 | 
					  const gchar *msg = dlerror ();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  /* make sure we always return an error message != NULL, if
 | 
					  /* make sure we always return an error message != NULL, if
 | 
				
			||||||
   * expected to do so. */
 | 
					   * expected to do so. */
 | 
				
			||||||
@@ -147,7 +147,7 @@ _g_module_symbol (gpointer     handle,
 | 
				
			|||||||
		  const gchar *symbol_name)
 | 
							  const gchar *symbol_name)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
  gpointer p;
 | 
					  gpointer p;
 | 
				
			||||||
  gchar *msg;
 | 
					  const gchar *msg;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  fetch_dlerror (FALSE);
 | 
					  fetch_dlerror (FALSE);
 | 
				
			||||||
  p = dlsym (handle, symbol_name);
 | 
					  p = dlsym (handle, symbol_name);
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user