diff options
author | Slava Barinov <v.barinov@samsung.com> | 2017-05-03 13:14:36 +0300 |
---|---|---|
committer | Slava Barinov <v.barinov@samsung.com> | 2017-05-11 15:52:23 +0300 |
commit | ac8c34e16d45023939fcd1483837f80083260a4e (patch) | |
tree | be478b19695f491c81fc81e51cfcb5a76c689f4f | |
parent | 70bd34bd188ab7bee44a69ddaebd4bdf8c131f7d (diff) | |
download | my-account-ac8c34e16d45023939fcd1483837f80083260a4e.tar.gz my-account-ac8c34e16d45023939fcd1483837f80083260a4e.tar.bz2 my-account-ac8c34e16d45023939fcd1483837f80083260a4e.zip |
Move variable definition from header to sourcesubmit/tizen_4.0_unified/20170814.115522submit/tizen_4.0/20170828.100009submit/tizen_4.0/20170814.115522submit/tizen_4.0/20170811.094300submit/tizen/20170607.082944accepted/tizen/unified/20170608.072344accepted/tizen/4.0/unified/20170828.223034accepted/tizen/4.0/unified/20170816.014430
This fixes ASan build with -fno-common
Change-Id: If8ef991aea25dcdcaa9b6dabcd4d88b4fa197aae
Signed-off-by: Slava Barinov <v.barinov@samsung.com>
-rwxr-xr-x | include/my-account-view.h | 3 | ||||
-rw-r--r-- | src/my-account-view-main.c | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/include/my-account-view.h b/include/my-account-view.h index 5ab4693..f1998ec 100755 --- a/include/my-account-view.h +++ b/include/my-account-view.h @@ -64,10 +64,9 @@ typedef struct { bool _myaccount_view_main_create(void *data); int _myaccount_get_accounts_total_count(void); -int previous_cnt; +extern int previous_cnt; #ifdef __cplusplus } #endif #endif /*__MY_ACCOUNT_VIEW_H__*/ - diff --git a/src/my-account-view-main.c b/src/my-account-view-main.c index b092103..19c5cbf 100644 --- a/src/my-account-view-main.c +++ b/src/my-account-view-main.c @@ -30,6 +30,8 @@ #include "my-account-util.h" #include "my-account-ui-widget.h" +int previous_cnt; + static void lang_changed(appdata *ad) { if (!ad) { |