diff options
author | Markus Minichmayr <markus@tapkey.com> | 2022-10-06 08:33:17 +0200 |
---|---|---|
committer | Markus Minichmayr <markus@tapkey.com> | 2022-11-21 23:03:44 +0100 |
commit | e3b0f174abbf03962c6cb42db44ec23452b1784c (patch) | |
tree | 2b54f87b94c248d2169aa943710fbd7f60a4364a /src/libical/pvl.c | |
parent | dddf6315556656e7663a32d89bac8ce285f651cc (diff) | |
download | libical-git-e3b0f174abbf03962c6cb42db44ec23452b1784c.tar.gz |
Mark mutable global variables as ICAL_GLOBAL_VAR, so we can specify storage modifiers (i.e. thread_local) if necessary.
Diffstat (limited to 'src/libical/pvl.c')
-rw-r--r-- | src/libical/pvl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libical/pvl.c b/src/libical/pvl.c index a3e9f644..8faaa264 100644 --- a/src/libical/pvl.c +++ b/src/libical/pvl.c @@ -43,8 +43,8 @@ static void pvl_global_unlock(void) * Globals incremented for each call to pvl_new_element(); each list gets a unique id. */ -static int pvl_elem_count = 0; -static int pvl_list_count = 0; +static ICAL_GLOBAL_VAR int pvl_elem_count = 0; +static ICAL_GLOBAL_VAR int pvl_list_count = 0; /** struct pvl_list_t |