projects
/
framework
/
connectivity
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
53ea3e8
)
Use static volatile for atomic global reference counters
author
Marcel Holtmann
<marcel@holtmann.org>
Fri, 12 Nov 2010 22:28:26 +0000
(07:28 +0900)
committer
Marcel Holtmann
<marcel@holtmann.org>
Fri, 12 Nov 2010 22:28:26 +0000
(07:28 +0900)
src/tethering.c
patch
|
blob
|
history
diff --git
a/src/tethering.c
b/src/tethering.c
index
b7e9c84
..
154efe9
100644
(file)
--- a/
src/tethering.c
+++ b/
src/tethering.c
@@
-37,7
+37,7
@@
static connman_bool_t tethering_status = FALSE;
static const char *default_interface = NULL;
-gint tethering_enabled;
+
static volatile
gint tethering_enabled;
connman_bool_t __connman_tethering_get_status(void)
{