diff options
| author | Richard M. Stallman | 1994-08-24 19:51:01 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1994-08-24 19:51:01 +0000 |
| commit | e4bfb3b6f1e39693d7f4daeb2efe6911fbfcb534 (patch) | |
| tree | ce5b829f166225da87ba7eadaf9659f34eb512ee /src/term.c | |
| parent | 5dd6606e25d42c99a7a1c2184cd54c563d2532a6 (diff) | |
| download | emacs-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.c | 7 |
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; | |||
| 285 | static int system_uses_terminfo; | 285 | static int system_uses_terminfo; |
| 286 | 286 | ||
| 287 | char *tparam (); | 287 | char *tparam (); |
| 288 | |||
| 289 | extern char *tgetstr (); | ||
| 288 | 290 | ||
| 289 | ring_bell () | 291 | ring_bell () |
| 290 | { | 292 | { |
| @@ -1261,7 +1263,6 @@ term_get_fkeys (address) | |||
| 1261 | static Lisp_Object | 1263 | static Lisp_Object |
| 1262 | term_get_fkeys_1 () | 1264 | term_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 |