diff options
author | Glenn Morris <rgm@gnu.org> | 2007-08-15 03:19:47 +0000 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2007-08-15 03:19:47 +0000 |
commit | 0c9848246b598ebb84af542bbcc3092fcb6ec93b (patch) | |
tree | ad656c8fe171b030c16d56bf2ec0dec57d4a799a /src/term.c | |
parent | 28c595fb5cf801127625109ecb56a6bffb5fb367 (diff) | |
download | emacs-0c9848246b598ebb84af542bbcc3092fcb6ec93b.tar.gz |
Philippe Waroquiers <philippe.waroquiers at eurocontrol.int>
(tty_default_color_capabilities): Explicitly initialize static
variables in file scope, to avoid HPUX compiler problem.
Diffstat (limited to 'src/term.c')
-rw-r--r-- | src/term.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/term.c b/src/term.c index 0648b960a6d..96697610a9b 100644 --- a/src/term.c +++ b/src/term.c @@ -2169,15 +2169,19 @@ DEFUN ("tty-display-color-cells", Ftty_display_color_cells, #ifndef WINDOWSNT +static int default_max_colors = 0; +static int default_max_pairs = 0; +static int default_no_color_video = 0; +static char *default_orig_pair = NULL; +static char *default_set_foreground = NULL; +static char *default_set_background = NULL; + /* Save or restore the default color-related capabilities of this terminal. */ static void tty_default_color_capabilities (save) int save; { - static char - *default_orig_pair, *default_set_foreground, *default_set_background; - static int default_max_colors, default_max_pairs, default_no_color_video; if (save) { |