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