# HG changeset patch # User Karoly Lorentey # Date 1121027739 0 # Node ID 5f293f92f85e70c0dbf0ae473322a9de8ff930fd # Parent 588dc71e812f8d797e996ad75cd889a9850599ef 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 diff -r 588dc71e812f -r 5f293f92f85e src/term.c --- 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",