diff options
| author | Paul Eggert | 2012-08-19 14:00:09 -0700 |
|---|---|---|
| committer | Paul Eggert | 2012-08-19 14:00:09 -0700 |
| commit | b69a6d228467365b4ed2545dcb1ecc3582d20e2a (patch) | |
| tree | 012d86b0c224f8c0f6666ad5efa4977d4d6f3281 /src/process.c | |
| parent | 22d7feb28c95cec0c940fc7b933491550730512b (diff) | |
| download | emacs-b69a6d228467365b4ed2545dcb1ecc3582d20e2a.tar.gz emacs-b69a6d228467365b4ed2545dcb1ecc3582d20e2a.zip | |
Rely on <unistd.h> to declare 'environ',
as gnulib does this if the system doesn't.
* lib-src/emacsclient.c (environ): Remove decl.
* src/callproc.c, src/editfns.c, src/process.c (environ) [!USE_CRT_DLL]:
* src/emacs.c (environ) [DOUG_LEA_MALLOC]:
* src/vm-limit.c (environ) [ORDINARY_LINK]: Remove decl.
* src/vm-limit.c: Include <unistd.h>, for 'environ'.
Diffstat (limited to 'src/process.c')
| -rw-r--r-- | src/process.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/process.c b/src/process.c index ea463cd9187..7f6f6bafbea 100644 --- a/src/process.c +++ b/src/process.c | |||
| @@ -1623,9 +1623,6 @@ create_process (Lisp_Object process, char **new_argv, Lisp_Object current_dir) | |||
| 1623 | /* Use volatile to protect variables from being clobbered by longjmp. */ | 1623 | /* Use volatile to protect variables from being clobbered by longjmp. */ |
| 1624 | volatile int forkin, forkout; | 1624 | volatile int forkin, forkout; |
| 1625 | volatile int pty_flag = 0; | 1625 | volatile int pty_flag = 0; |
| 1626 | #ifndef USE_CRT_DLL | ||
| 1627 | extern char **environ; | ||
| 1628 | #endif | ||
| 1629 | 1626 | ||
| 1630 | inchannel = outchannel = -1; | 1627 | inchannel = outchannel = -1; |
| 1631 | 1628 | ||