diff options
| author | Karoly Lorentey | 2005-07-10 20:35:39 +0000 |
|---|---|---|
| committer | Karoly Lorentey | 2005-07-10 20:35:39 +0000 |
| commit | 520c4dfd15c6aa2c934098212277bac268346eb3 (patch) | |
| tree | 024086a9b8ac4581b5dc7fb0bb1e20cba551ecb7 | |
| parent | c6fb7c433ceae69c5d1627fefeefc02bf6c19537 (diff) | |
| download | emacs-520c4dfd15c6aa2c934098212277bac268346eb3.tar.gz emacs-520c4dfd15c6aa2c934098212277bac268346eb3.zip | |
Fix compilation error in src/term.c.
* src/term.c (term_init): Move maybe_fatal declaration to top-level to
prevent complaints from GCC 4.0.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-378
| -rw-r--r-- | src/term.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/term.c b/src/term.c index ac1ef073318..2fae139e7f5 100644 --- a/src/term.c +++ b/src/term.c | |||
| @@ -2344,6 +2344,8 @@ dissociate_if_controlling_tty (int fd) | |||
| 2344 | } | 2344 | } |
| 2345 | } | 2345 | } |
| 2346 | 2346 | ||
| 2347 | static void maybe_fatal(); | ||
| 2348 | |||
| 2347 | /* Create a termcap display on the tty device with the given name and | 2349 | /* Create a termcap display on the tty device with the given name and |
| 2348 | type. | 2350 | type. |
| 2349 | 2351 | ||
| @@ -2367,8 +2369,6 @@ term_init (char *name, char *terminal_type, int must_succeed) | |||
| 2367 | struct tty_display_info *tty; | 2369 | struct tty_display_info *tty; |
| 2368 | struct display *display; | 2370 | struct display *display; |
| 2369 | 2371 | ||
| 2370 | static void maybe_fatal(); | ||
| 2371 | |||
| 2372 | if (!terminal_type) | 2372 | if (!terminal_type) |
| 2373 | maybe_fatal (must_succeed, 0, 0, | 2373 | maybe_fatal (must_succeed, 0, 0, |
| 2374 | "Unknown terminal type", | 2374 | "Unknown terminal type", |