summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPatrik Flykt <patrik.flykt@linux.intel.com>2013-04-23 10:05:28 (GMT)
committerPatrik Flykt <patrik.flykt@linux.intel.com>2013-04-26 09:52:16 (GMT)
commit87a2d69cfa5e241342596046ef95110ad6e7a06c (patch)
tree177c89753623ae74227110dad40f96531994a553 /src
parent6d59a882ec0caa3eb3746ba116bdba781eecd913 (diff)
downloadconnman-87a2d69cfa5e241342596046ef95110ad6e7a06c.zip
connman-87a2d69cfa5e241342596046ef95110ad6e7a06c.tar.gz
connman-87a2d69cfa5e241342596046ef95110ad6e7a06c.tar.bz2
service: Replace connman_uint8_t with uint8_t
Diffstat (limited to 'src')
-rw-r--r--src/service.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/service.c b/src/service.c
index 6dce706..bba548e 100644
--- a/src/service.c
+++ b/src/service.c
@@ -29,6 +29,7 @@
#include <netdb.h>
#include <gdbus.h>
#include <ctype.h>
+#include <stdint.h>
#include <connman/storage.h>
#include <connman/setting.h>
@@ -72,7 +73,7 @@ struct connman_service {
enum connman_service_state state_ipv4;
enum connman_service_state state_ipv6;
enum connman_service_error error;
- connman_uint8_t strength;
+ uint8_t strength;
connman_bool_t favorite;
connman_bool_t immutable;
connman_bool_t hidden;
@@ -6417,7 +6418,7 @@ static enum connman_service_security convert_wifi_security(const char *security)
static void update_from_network(struct connman_service *service,
struct connman_network *network)
{
- connman_uint8_t strength = service->strength;
+ uint8_t strength = service->strength;
GSequenceIter *iter;
const char *str;
@@ -6578,7 +6579,7 @@ void __connman_service_update_from_network(struct connman_network *network)
{
connman_bool_t need_sort = FALSE;
struct connman_service *service;
- connman_uint8_t strength;
+ uint8_t strength;
connman_bool_t roaming;
GSequenceIter *iter;
const char *name;