aboutsummaryrefslogtreecommitdiffstats
path: root/src/term.c
diff options
context:
space:
mode:
authorRichard M. Stallman1994-08-24 19:51:01 +0000
committerRichard M. Stallman1994-08-24 19:51:01 +0000
commite4bfb3b6f1e39693d7f4daeb2efe6911fbfcb534 (patch)
treece5b829f166225da87ba7eadaf9659f34eb512ee /src/term.c
parent5dd6606e25d42c99a7a1c2184cd54c563d2532a6 (diff)
downloademacs-e4bfb3b6f1e39693d7f4daeb2efe6911fbfcb534.tar.gz
emacs-e4bfb3b6f1e39693d7f4daeb2efe6911fbfcb534.zip
(term_init): Added missing argument to tgetstr.
(tgetstr): Move declarations to top level.
Diffstat (limited to 'src/term.c')
-rw-r--r--src/term.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/term.c b/src/term.c
index f701007eba2..642fe5cb798 100644
--- a/src/term.c
+++ b/src/term.c
@@ -285,6 +285,8 @@ FRAME_PTR updating_frame;
285static int system_uses_terminfo; 285static int system_uses_terminfo;
286 286
287char *tparam (); 287char *tparam ();
288
289extern char *tgetstr ();
288 290
289ring_bell () 291ring_bell ()
290{ 292{
@@ -1261,7 +1263,6 @@ term_get_fkeys (address)
1261static Lisp_Object 1263static Lisp_Object
1262term_get_fkeys_1 () 1264term_get_fkeys_1 ()
1263{ 1265{
1264 extern char *tgetstr ();
1265 int i; 1266 int i;
1266 1267
1267 char **address = term_get_fkeys_arg; 1268 char **address = term_get_fkeys_arg;
@@ -1362,8 +1363,6 @@ term_init (terminal_type)
1362 register char *p; 1363 register char *p;
1363 int status; 1364 int status;
1364 1365
1365 extern char *tgetstr ();
1366
1367 Wcm_clear (); 1366 Wcm_clear ();
1368 dont_calculate_costs = 0; 1367 dont_calculate_costs = 0;
1369 1368
@@ -1512,7 +1511,7 @@ to do `unset TERMCAP' (C-shell: `unsetenv TERMCAP') as well.\n",
1512 If that fails, we can't use standout mode at all. */ 1511 If that fails, we can't use standout mode at all. */
1513 if (TS_end_standout_mode == 0) 1512 if (TS_end_standout_mode == 0)
1514 { 1513 {
1515 char *s = tgetstr ("me"); 1514 char *s = tgetstr ("me", address);
1516 if (s != 0) 1515 if (s != 0)
1517 TS_end_standout_mode = s; 1516 TS_end_standout_mode = s;
1518 else 1517 else