diff options
author | Bruce Korb <bkorb@gnu.org> | 2000-05-10 13:47:36 +0000 |
---|---|---|
committer | Bruce Korb <korbb@gcc.gnu.org> | 2000-05-10 13:47:36 +0000 |
commit | 5ac38d52bb73f75fd11cae8074afbd4b42e7e459 (patch) | |
tree | 6e3824fa4761365553ca1dcca1bb6fab69f30bba /gcc | |
parent | ac83e16bc4a3a58c821a6f74e27fd9dc95149919 (diff) | |
download | gcc-5ac38d52bb73f75fd11cae8074afbd4b42e7e459.zip gcc-5ac38d52bb73f75fd11cae8074afbd4b42e7e459.tar.gz gcc-5ac38d52bb73f75fd11cae8074afbd4b42e7e459.tar.bz2 |
reg_syntax_t re_syntax_options must be static scope
From-SVN: r33825
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/fixinc/gnu-regex.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7c10938..11b21c8 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2000-05-10 Bruce Korb <bkorb@gnu.org> + + * fixinc/gnu-regex.c: reg_syntax_t re_syntax_options must be static + 2000-05-10 Eric Schweitz <schweitz@nortelnetworks.com> * dwarfout.c (dwarfout_finish): Call retry_incomplete_types diff --git a/gcc/fixinc/gnu-regex.c b/gcc/fixinc/gnu-regex.c index 553942b..9f49257 100644 --- a/gcc/fixinc/gnu-regex.c +++ b/gcc/fixinc/gnu-regex.c @@ -965,7 +965,7 @@ printchar (c) syntax, so it can be changed between regex compilations. */ /* This has no initializer because initialized variables in Emacs become read-only after dumping. */ -reg_syntax_t re_syntax_options; +static reg_syntax_t re_syntax_options; /* Specify the precise syntax of regexps for compilation. This provides |