diff options
Diffstat (limited to 'posix/regex.c')
-rw-r--r-- | posix/regex.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/posix/regex.c b/posix/regex.c index aeaf198a15..d29a4bf61e 100644 --- a/posix/regex.c +++ b/posix/regex.c @@ -966,13 +966,13 @@ printchar (c) /* Set by `re_set_syntax' to the current regexp syntax to recognize. Can also be assigned to arbitrarily: each pattern buffer stores its own syntax, so it can be changed between regex compilations. */ -/* This has no initializer because initialized variables in Emacs - become read-only after dumping. */ #ifdef _LIBC -reg_syntax_t __re_syntax_options; +reg_syntax_t __re_syntax_options = 0; weak_alias (__re_syntax_options, re_syntax_options) # define re_syntax_options __re_syntax_options #else +/* This has no initializer because initialized variables in Emacs + become read-only after dumping. */ reg_syntax_t re_syntax_options; #endif |