Skip to content

Commit

Permalink
have string states in thread-local-storage
Browse files Browse the repository at this point in the history
  • Loading branch information
GitMensch authored and engboris committed Jul 22, 2024
1 parent 4a6eb17 commit 94cf589
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions libcob/strings.c
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,9 @@ static const cob_field_attr const_strall_attr =
{COB_TYPE_ALPHANUMERIC_ALL, 0, 0, 0, NULL};

/* Static structures for backward compatibility */
static struct cob_inspect_state share_inspect_state;
static struct cob_string_state share_string_state;
static struct cob_unstring_state share_unstring_state;
COB_TLS struct cob_inspect_state share_inspect_state;
COB_TLS struct cob_string_state share_string_state;
COB_TLS struct cob_unstring_state share_unstring_state;

static unsigned char *figurative_ptr;
static size_t figurative_size;
Expand Down

0 comments on commit 94cf589

Please sign in to comment.