diff options
| author | Glenn Morris | 2007-08-16 03:18:08 +0000 |
|---|---|---|
| committer | Glenn Morris | 2007-08-16 03:18:08 +0000 |
| commit | 5205ee622904c4ce5f1a288db2f7699cd40d284d (patch) | |
| tree | 27ad6f978514fdea54679c9e6dcbd36e3de30748 /src | |
| parent | 4416883750d15a4dab73dab8cf143eadcc8f9e8b (diff) | |
| download | emacs-5205ee622904c4ce5f1a288db2f7699cd40d284d.tar.gz emacs-5205ee622904c4ce5f1a288db2f7699cd40d284d.zip | |
Tweak previous change (don't init statics).
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 4 | ||||
| -rw-r--r-- | src/term.c | 16 |
2 files changed, 10 insertions, 10 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 2f006840cbc..7909260228e 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -8,8 +8,8 @@ | |||
| 8 | 8 | ||
| 9 | 2007-08-15 Philippe Waroquiers <philippe.waroquiers@eurocontrol.int> | 9 | 2007-08-15 Philippe Waroquiers <philippe.waroquiers@eurocontrol.int> |
| 10 | 10 | ||
| 11 | * term.c (tty_default_color_capabilities): Explicitly initialize | 11 | * term.c (tty_default_color_capabilities): Declare static |
| 12 | static variables in file scope, to avoid HPUX compiler problem. | 12 | variables in file scope, to avoid HPUX compiler problem. |
| 13 | 13 | ||
| 14 | 2007-08-13 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> | 14 | 2007-08-13 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> |
| 15 | 15 | ||
diff --git a/src/term.c b/src/term.c index 3b43163bb57..63455f525da 100644 --- a/src/term.c +++ b/src/term.c | |||
| @@ -2238,15 +2238,15 @@ DEFUN ("tty-display-color-cells", Ftty_display_color_cells, | |||
| 2238 | 2238 | ||
| 2239 | #ifndef WINDOWSNT | 2239 | #ifndef WINDOWSNT |
| 2240 | 2240 | ||
| 2241 | /* Explicitly initialized here rather than in the function to work | 2241 | /* Declare here rather than in the function, as in the rest of Emacs, |
| 2242 | around an HPUX compiler bug (?). See | 2242 | to work around an HPUX compiler bug (?). See |
| 2243 | http://lists.gnu.org/archive/html/emacs-devel/2007-08/msg00410.html */ | 2243 | http://lists.gnu.org/archive/html/emacs-devel/2007-08/msg00410.html */ |
| 2244 | static int default_max_colors = 0; | 2244 | static int default_max_colors; |
| 2245 | static int default_max_pairs = 0; | 2245 | static int default_max_pairs; |
| 2246 | static int default_no_color_video = 0; | 2246 | static int default_no_color_video; |
| 2247 | static char *default_orig_pair = NULL; | 2247 | static char *default_orig_pair; |
| 2248 | static char *default_set_foreground = NULL; | 2248 | static char *default_set_foreground; |
| 2249 | static char *default_set_background = NULL; | 2249 | static char *default_set_background; |
| 2250 | 2250 | ||
| 2251 | /* Save or restore the default color-related capabilities of this | 2251 | /* Save or restore the default color-related capabilities of this |
| 2252 | terminal. */ | 2252 | terminal. */ |