summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPatrik Flykt <patrik.flykt@linux.intel.com>2013-04-23 10:05:31 (GMT)
committerPatrik Flykt <patrik.flykt@linux.intel.com>2013-04-26 09:52:22 (GMT)
commit2ba573225b59544fab54fb7dcc8d0d46d87991af (patch)
tree4e1d44b3efc4d286c4adeb36bd4893545dc00a1a /src
parent3daea67d91a0c595179f7aac8a031c325d6bd454 (diff)
downloadconnman-2ba573225b59544fab54fb7dcc8d0d46d87991af.zip
connman-2ba573225b59544fab54fb7dcc8d0d46d87991af.tar.gz
connman-2ba573225b59544fab54fb7dcc8d0d46d87991af.tar.bz2
network: Replace connman_uint16_t with uint16_t
Diffstat (limited to 'src')
-rw-r--r--src/network.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/network.c b/src/network.c
index 4605199..6a926cb 100644
--- a/src/network.c
+++ b/src/network.c
@@ -51,7 +51,7 @@ struct connman_network {
connman_bool_t connected;
connman_bool_t roaming;
uint8_t strength;
- connman_uint16_t frequency;
+ uint16_t frequency;
char *identifier;
char *name;
char *node;
@@ -1784,7 +1784,7 @@ uint8_t connman_network_get_strength(struct connman_network *network)
}
int connman_network_set_frequency(struct connman_network *network,
- connman_uint16_t frequency)
+ uint16_t frequency)
{
DBG("network %p frequency %d", network, frequency);
@@ -1793,13 +1793,13 @@ int connman_network_set_frequency(struct connman_network *network,
return 0;
}
-connman_uint16_t connman_network_get_frequency(struct connman_network *network)
+uint16_t connman_network_get_frequency(struct connman_network *network)
{
return network->frequency;
}
int connman_network_set_wifi_channel(struct connman_network *network,
- connman_uint16_t channel)
+ uint16_t channel)
{
DBG("network %p wifi channel %d", network, channel);
@@ -1808,7 +1808,7 @@ int connman_network_set_wifi_channel(struct connman_network *network,
return 0;
}
-connman_uint16_t connman_network_get_wifi_channel(struct connman_network *network)
+uint16_t connman_network_get_wifi_channel(struct connman_network *network)
{
return network->wifi.channel;
}