diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2010-11-13 07:28:26 +0900 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2010-11-13 07:28:26 +0900 |
commit | 1cf38d83b65c29bd23da21b40fad8c3bba7214e8 (patch) | |
tree | 4af477afc70cf1311fb9819985f34d7061cf898b /src/tethering.c | |
parent | 53ea3e8733d34ebd3477f36c4b4265934b981e7d (diff) | |
download | connman-1cf38d83b65c29bd23da21b40fad8c3bba7214e8.tar.gz connman-1cf38d83b65c29bd23da21b40fad8c3bba7214e8.tar.bz2 connman-1cf38d83b65c29bd23da21b40fad8c3bba7214e8.zip |
Use static volatile for atomic global reference counters
Diffstat (limited to 'src/tethering.c')
-rw-r--r-- | src/tethering.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tethering.c b/src/tethering.c index b7e9c848..154efe9a 100644 --- 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) { |