diff options
| author | Karoly Lorentey | 2005-12-26 02:21:31 +0000 |
|---|---|---|
| committer | Karoly Lorentey | 2005-12-26 02:21:31 +0000 |
| commit | 30663b475e57197c9896a252e1d4ca31c579fa2b (patch) | |
| tree | c6bd33f3845ffe13159bceb38ff9d5260076beb7 /src | |
| parent | f105f403d206f95bf534226abb99f14aa2f3052e (diff) | |
| download | emacs-30663b475e57197c9896a252e1d4ca31c579fa2b.tar.gz emacs-30663b475e57197c9896a252e1d4ca31c579fa2b.zip | |
Fix compilation errors in previous commit.
* src/callproc.c (getenv_internal): Fix get_terminal_param call.
* dispextern.h (get_device): Move declaration to termhooks.h.
* termhooks.h (get_device): Move here.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-462
Diffstat (limited to 'src')
| -rw-r--r-- | src/callproc.c | 2 | ||||
| -rw-r--r-- | src/dispextern.h | 2 | ||||
| -rw-r--r-- | src/termhooks.h | 2 |
3 files changed, 2 insertions, 4 deletions
diff --git a/src/callproc.c b/src/callproc.c index 35331e4b5dd..a8735d51c9b 100644 --- a/src/callproc.c +++ b/src/callproc.c | |||
| @@ -1493,7 +1493,7 @@ getenv_internal (var, varlen, value, valuelen, terminal) | |||
| 1493 | /* Find the environment in which to search the variable. */ | 1493 | /* Find the environment in which to search the variable. */ |
| 1494 | if (!NILP (terminal)) | 1494 | if (!NILP (terminal)) |
| 1495 | { | 1495 | { |
| 1496 | Lisp_Object local = get_terminal_param (get_device (terminal, 1)); | 1496 | Lisp_Object local = get_terminal_param (get_device (terminal, 1), Qenvironment); |
| 1497 | /* Use Vprocess_environment if there is no local environment. */ | 1497 | /* Use Vprocess_environment if there is no local environment. */ |
| 1498 | if (!NILP (local)) | 1498 | if (!NILP (local)) |
| 1499 | environment = local; | 1499 | environment = local; |
diff --git a/src/dispextern.h b/src/dispextern.h index b473f9cb16b..2ae833d46c2 100644 --- a/src/dispextern.h +++ b/src/dispextern.h | |||
| @@ -2939,8 +2939,6 @@ extern void insert_glyphs P_ ((struct frame *, struct glyph *, int)); | |||
| 2939 | extern void delete_glyphs P_ ((struct frame *, int)); | 2939 | extern void delete_glyphs P_ ((struct frame *, int)); |
| 2940 | extern void ins_del_lines P_ ((struct frame *, int, int)); | 2940 | extern void ins_del_lines P_ ((struct frame *, int, int)); |
| 2941 | 2941 | ||
| 2942 | extern struct device *get_device P_ ((Lisp_Object display, int)); | ||
| 2943 | |||
| 2944 | extern struct device *init_initial_device P_ ((void)); | 2942 | extern struct device *init_initial_device P_ ((void)); |
| 2945 | 2943 | ||
| 2946 | 2944 | ||
diff --git a/src/termhooks.h b/src/termhooks.h index f12dbadd197..7920b6597aa 100644 --- a/src/termhooks.h +++ b/src/termhooks.h | |||
| @@ -596,7 +596,7 @@ extern struct device *device_list; | |||
| 596 | #define DEVICE_ACTIVE_P(d) ((d)->type != output_termcap || (d)->display_info.tty->input) | 596 | #define DEVICE_ACTIVE_P(d) ((d)->type != output_termcap || (d)->display_info.tty->input) |
| 597 | 597 | ||
| 598 | extern Lisp_Object get_terminal_param P_ ((struct device *, Lisp_Object)); | 598 | extern Lisp_Object get_terminal_param P_ ((struct device *, Lisp_Object)); |
| 599 | 599 | extern struct device *get_device P_ ((Lisp_Object display, int)); | |
| 600 | extern struct device *create_device P_ ((void)); | 600 | extern struct device *create_device P_ ((void)); |
| 601 | extern void delete_device P_ ((struct device *)); | 601 | extern void delete_device P_ ((struct device *)); |
| 602 | 602 | ||