aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.c
diff options
context:
space:
mode:
authorAndrew Innes2000-08-22 22:36:52 +0000
committerAndrew Innes2000-08-22 22:36:52 +0000
commit3ec68006ee3994a79d6df34a036d870b4cfebe7e (patch)
treeaec6408f1a383393831a30d9f5a9b67f92db39fb /src/process.c
parent43e5817fd13c5f98af6390ada11bddd2f54d9d5f (diff)
downloademacs-3ec68006ee3994a79d6df34a036d870b4cfebe7e.tar.gz
emacs-3ec68006ee3994a79d6df34a036d870b4cfebe7e.zip
Include keyboard.h before frame.h.
[USE_CRT_DLL]: Remove unnecessary extern, which screws up dllimport attributes. (create_process) [USE_CRT_DLL]: Remove unnecessary extern, which screws up dllimport attributes.
Diffstat (limited to 'src/process.c')
-rw-r--r--src/process.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/process.c b/src/process.c
index 540b10681a5..d71b68288cd 100644
--- a/src/process.c
+++ b/src/process.c
@@ -104,9 +104,9 @@ Boston, MA 02111-1307, USA. */
104#include "termhooks.h" 104#include "termhooks.h"
105#include "termopts.h" 105#include "termopts.h"
106#include "commands.h" 106#include "commands.h"
107#include "keyboard.h"
107#include "frame.h" 108#include "frame.h"
108#include "blockinput.h" 109#include "blockinput.h"
109#include "keyboard.h"
110#include "dispextern.h" 110#include "dispextern.h"
111#include "composite.h" 111#include "composite.h"
112#include "atimer.h" 112#include "atimer.h"
@@ -147,7 +147,9 @@ Lisp_Object Qlast_nonmenu_event;
147 147
148extern void set_waiting_for_input P_ ((EMACS_TIME *)); 148extern void set_waiting_for_input P_ ((EMACS_TIME *));
149 149
150#ifndef USE_CRT_DLL
150extern int errno; 151extern int errno;
152#endif
151#ifdef VMS 153#ifdef VMS
152extern char *sys_errlist[]; 154extern char *sys_errlist[];
153#endif 155#endif
@@ -1301,7 +1303,9 @@ create_process (process, new_argv, current_dir)
1301 /* Use volatile to protect variables from being clobbered by longjmp. */ 1303 /* Use volatile to protect variables from being clobbered by longjmp. */
1302 volatile int forkin, forkout; 1304 volatile int forkin, forkout;
1303 volatile int pty_flag = 0; 1305 volatile int pty_flag = 0;
1306#ifndef USE_CRT_DLL
1304 extern char **environ; 1307 extern char **environ;
1308#endif
1305 Lisp_Object buffer = XPROCESS (process)->buffer; 1309 Lisp_Object buffer = XPROCESS (process)->buffer;
1306 1310
1307 inchannel = outchannel = -1; 1311 inchannel = outchannel = -1;