mirror of git://git.sysmocom.de/ofono
Style: Use unsigned int instead of unsigned
This commit is contained in:
parent
7254f8ac86
commit
55572b6e69
|
@ -44,7 +44,7 @@ static const char *none_prefix[] = { NULL };
|
|||
|
||||
struct gprs_context_data {
|
||||
GAtChat *chat;
|
||||
unsigned active_context;
|
||||
unsigned int active_context;
|
||||
};
|
||||
|
||||
static void at_cgact_down_cb(gboolean ok, GAtResult *result, gpointer user_data)
|
||||
|
|
|
@ -55,7 +55,7 @@ enum hso_state {
|
|||
|
||||
struct gprs_context_data {
|
||||
GAtChat *chat;
|
||||
unsigned active_context; /* Currently active */
|
||||
unsigned int active_context; /* Currently active */
|
||||
enum hso_state hso_state; /* Are we in req ? */
|
||||
union {
|
||||
ofono_gprs_context_cb_t down_cb; /* Down callback */
|
||||
|
|
|
@ -47,7 +47,7 @@ static const char *none_prefix[] = { NULL };
|
|||
|
||||
struct gprs_context_data {
|
||||
GAtChat *chat;
|
||||
unsigned active_context;
|
||||
unsigned int active_context;
|
||||
};
|
||||
|
||||
static void at_enap_down_cb(gboolean ok, GAtResult *result, gpointer user_data)
|
||||
|
|
|
@ -62,7 +62,8 @@ struct ofono_gprs_context_driver {
|
|||
ofono_gprs_context_cb_t cb, void *data);
|
||||
};
|
||||
|
||||
void ofono_gprs_context_deactivated(struct ofono_gprs_context *gc, unsigned id);
|
||||
void ofono_gprs_context_deactivated(struct ofono_gprs_context *gc,
|
||||
unsigned int id);
|
||||
|
||||
int ofono_gprs_context_driver_register(const struct ofono_gprs_context_driver *d);
|
||||
void ofono_gprs_context_driver_unregister(const struct ofono_gprs_context_driver *d);
|
||||
|
|
|
@ -83,7 +83,7 @@ struct ofono_phone_number {
|
|||
};
|
||||
|
||||
struct ofono_call {
|
||||
unsigned id;
|
||||
unsigned int id;
|
||||
int type;
|
||||
int direction;
|
||||
int status;
|
||||
|
|
|
@ -1389,7 +1389,8 @@ void ofono_gprs_add_context(struct ofono_gprs *gprs,
|
|||
__ofono_atom_register(gc->atom, gprs_context_unregister);
|
||||
}
|
||||
|
||||
void ofono_gprs_context_deactivated(struct ofono_gprs_context *gc, unsigned cid)
|
||||
void ofono_gprs_context_deactivated(struct ofono_gprs_context *gc,
|
||||
unsigned int cid)
|
||||
{
|
||||
DBusConnection *conn = ofono_dbus_get_connection();
|
||||
GSList *l;
|
||||
|
|
Loading…
Reference in New Issue