gprs: Minor whitespace and style fixes

This commit is contained in:
Oleg Zhurakivskyy 2011-12-28 15:18:42 +02:00 committed by Denis Kenzior
parent ddf771bf08
commit 60976f1357
1 changed files with 13 additions and 11 deletions

View File

@ -57,9 +57,6 @@
#define MAX_CONTEXTS 256
#define SUSPEND_TIMEOUT 8
static GSList *g_drivers = NULL;
static GSList *g_context_drivers = NULL;
/* 27.007 Section 7.29 */
enum packet_bearer {
PACKET_BEARER_NONE = 0,
@ -152,6 +149,9 @@ struct pri_context {
static void gprs_netreg_update(struct ofono_gprs *gprs);
static void gprs_deactivate_next(struct ofono_gprs *gprs);
static GSList *g_drivers = NULL;
static GSList *g_context_drivers = NULL;
const char *packet_bearer_to_string(int bearer)
{
switch (bearer) {
@ -2253,7 +2253,8 @@ void ofono_gprs_context_deactivated(struct ofono_gprs_context *gc,
}
}
int ofono_gprs_context_driver_register(const struct ofono_gprs_context_driver *d)
int ofono_gprs_context_driver_register(
const struct ofono_gprs_context_driver *d)
{
DBG("driver: %p, name: %s", d, d->name);
@ -2265,7 +2266,8 @@ int ofono_gprs_context_driver_register(const struct ofono_gprs_context_driver *d
return 0;
}
void ofono_gprs_context_driver_unregister(const struct ofono_gprs_context_driver *d)
void ofono_gprs_context_driver_unregister(
const struct ofono_gprs_context_driver *d)
{
DBG("driver: %p, name: %s", d, d->name);