all: use "int/char" instead of "gint/gchar" typedefs
This is also recommended by our checkpatch.pl script.
(cherry picked from commit 2929392855
)
This commit is contained in:
@@ -856,7 +856,7 @@ nm_setting_sriov_get_autoprobe_drivers (NMSettingSriov *setting)
|
|||||||
return setting->autoprobe_drivers;
|
return setting->autoprobe_drivers;
|
||||||
}
|
}
|
||||||
|
|
||||||
static gint
|
static int
|
||||||
vf_index_compare (gconstpointer a, gconstpointer b)
|
vf_index_compare (gconstpointer a, gconstpointer b)
|
||||||
{
|
{
|
||||||
NMSriovVF *vf_a = *(NMSriovVF **) a;
|
NMSriovVF *vf_a = *(NMSriovVF **) a;
|
||||||
|
@@ -454,7 +454,7 @@ _context_object_new_do_cb (GObject *source_object,
|
|||||||
static GObject *
|
static GObject *
|
||||||
_context_object_new_do (GType gtype,
|
_context_object_new_do (GType gtype,
|
||||||
gboolean sync,
|
gboolean sync,
|
||||||
const gchar *first_property_name,
|
const char *first_property_name,
|
||||||
va_list var_args)
|
va_list var_args)
|
||||||
{
|
{
|
||||||
gs_free_error GError *error = NULL;
|
gs_free_error GError *error = NULL;
|
||||||
|
@@ -431,8 +431,8 @@ make_connection_setting (const char *file,
|
|||||||
(int) svGetValueInt64 (ifcfg, "AUTOCONNECT_RETRIES", 10,
|
(int) svGetValueInt64 (ifcfg, "AUTOCONNECT_RETRIES", 10,
|
||||||
-1, G_MAXINT32, -1),
|
-1, G_MAXINT32, -1),
|
||||||
NM_SETTING_CONNECTION_MULTI_CONNECT,
|
NM_SETTING_CONNECTION_MULTI_CONNECT,
|
||||||
(gint) svGetValueInt64 (ifcfg, "MULTI_CONNECT", 10,
|
(int) svGetValueInt64 (ifcfg, "MULTI_CONNECT", 10,
|
||||||
G_MININT32, G_MAXINT32, NM_CONNECTION_MULTI_CONNECT_DEFAULT),
|
G_MININT32, G_MAXINT32, NM_CONNECTION_MULTI_CONNECT_DEFAULT),
|
||||||
NM_SETTING_CONNECTION_AUTOCONNECT_SLAVES,
|
NM_SETTING_CONNECTION_AUTOCONNECT_SLAVES,
|
||||||
svGetValueBoolean (ifcfg, "AUTOCONNECT_SLAVES", NM_SETTING_CONNECTION_AUTOCONNECT_SLAVES_DEFAULT),
|
svGetValueBoolean (ifcfg, "AUTOCONNECT_SLAVES", NM_SETTING_CONNECTION_AUTOCONNECT_SLAVES_DEFAULT),
|
||||||
NM_SETTING_CONNECTION_LLDP, lldp,
|
NM_SETTING_CONNECTION_LLDP, lldp,
|
||||||
|
Reference in New Issue
Block a user