Mercurial > emacs
diff src/term.c @ 83338:5f293f92f85e
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
| author | Karoly Lorentey <lorentey@elte.hu> |
|---|---|
| date | Sun, 10 Jul 2005 20:35:39 +0000 |
| parents | 6c13700d1c13 |
| children | 76e51706154e |
line wrap: on
line diff
--- a/src/term.c Sun Jul 10 19:26:29 2005 +0000 +++ b/src/term.c Sun Jul 10 20:35:39 2005 +0000 @@ -2344,6 +2344,8 @@ } } +static void maybe_fatal(); + /* Create a termcap display on the tty device with the given name and type. @@ -2367,8 +2369,6 @@ struct tty_display_info *tty; struct display *display; - static void maybe_fatal(); - if (!terminal_type) maybe_fatal (must_succeed, 0, 0, "Unknown terminal type",
