summaryrefslogtreecommitdiff
path: root/src/term.c
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1994-08-24 19:51:01 +0000
committerRichard M. Stallman <rms@gnu.org>1994-08-24 19:51:01 +0000
commitd55f1a700bd9db7984af9b3a5b11112add5b4108 (patch)
tree3e334334057c4994d39bbb317c0284ceb0c22c0b /src/term.c
parentf002973e92e91ff3e17050497ac58e72736f0b53 (diff)
downloademacs-d55f1a700bd9db7984af9b3a5b11112add5b4108.tar.gz
(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;
static int system_uses_terminfo;
char *tparam ();
+
+extern char *tgetstr ();
ring_bell ()
{
@@ -1261,7 +1263,6 @@ term_get_fkeys (address)
static Lisp_Object
term_get_fkeys_1 ()
{
- extern char *tgetstr ();
int i;
char **address = term_get_fkeys_arg;
@@ -1362,8 +1363,6 @@ term_init (terminal_type)
register char *p;
int status;
- extern char *tgetstr ();
-
Wcm_clear ();
dont_calculate_costs = 0;
@@ -1512,7 +1511,7 @@ to do `unset TERMCAP' (C-shell: `unsetenv TERMCAP') as well.\n",
If that fails, we can't use standout mode at all. */
if (TS_end_standout_mode == 0)
{
- char *s = tgetstr ("me");
+ char *s = tgetstr ("me", address);
if (s != 0)
TS_end_standout_mode = s;
else