Skip to content

Commit 92fb896

Browse files
tweak definitions of statics in inlines.c
1 parent 437dcb0 commit 92fb896

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/inlines.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1339,7 +1339,7 @@ static cmark_node *handle_newline(subject *subj) {
13391339
}
13401340

13411341
// "\r\n\\`&_*[]<!"
1342-
static _Atomic int8_t SPECIAL_CHARS[256] = {
1342+
static int8_t SPECIAL_CHARS[256] = {
13431343
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
13441344
0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0,
13451345
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
@@ -1353,7 +1353,7 @@ static _Atomic int8_t SPECIAL_CHARS[256] = {
13531353
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
13541354

13551355
// " ' . -
1356-
static char SMART_PUNCT_CHARS[] = {
1356+
static const char SMART_PUNCT_CHARS[] = {
13571357
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
13581358
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 1, 0,
13591359
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,

0 commit comments

Comments
 (0)