diff options
| author | Tom Tromey | 2013-08-26 20:09:38 -0600 |
|---|---|---|
| committer | Tom Tromey | 2013-08-26 20:09:38 -0600 |
| commit | 545af8557a68f5f34e74349d6dee9d8319df6f7c (patch) | |
| tree | cbddaad256f7d108dbb7bb1356d974b4fdc5f67f /src/thread.h | |
| parent | 6e9fb70cdf763da6d264932f14f5a67d354ec38d (diff) | |
| download | emacs-545af8557a68f5f34e74349d6dee9d8319df6f7c.tar.gz emacs-545af8557a68f5f34e74349d6dee9d8319df6f7c.zip | |
fix whitespace_regexp warning
Diffstat (limited to 'src/thread.h')
| -rw-r--r-- | src/thread.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/thread.h b/src/thread.h index e77d1144ecf..231c7acc31f 100644 --- a/src/thread.h +++ b/src/thread.h | |||
| @@ -147,7 +147,9 @@ struct thread_state | |||
| 147 | #define re_syntax_options (current_thread->m_re_syntax_options) | 147 | #define re_syntax_options (current_thread->m_re_syntax_options) |
| 148 | 148 | ||
| 149 | /* Regexp to use to replace spaces, or NULL meaning don't. */ | 149 | /* Regexp to use to replace spaces, or NULL meaning don't. */ |
| 150 | /*re_char*/ unsigned char *m_whitespace_regexp; | 150 | /* This ought to be a "const re_char *" but that is not available |
| 151 | outside regex.h. */ | ||
| 152 | const void *m_whitespace_regexp; | ||
| 151 | #define whitespace_regexp (current_thread->m_whitespace_regexp) | 153 | #define whitespace_regexp (current_thread->m_whitespace_regexp) |
| 152 | 154 | ||
| 153 | /* This variable is different from waiting_for_input in keyboard.c. | 155 | /* This variable is different from waiting_for_input in keyboard.c. |