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/callproc.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/callproc.c')
| -rw-r--r-- | src/callproc.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/callproc.c b/src/callproc.c index 10a80168fb2..4bf1da04e1a 100644 --- a/src/callproc.c +++ b/src/callproc.c | |||
| @@ -65,10 +65,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 65 | #include "nsterm.h" | 65 | #include "nsterm.h" |
| 66 | #endif | 66 | #endif |
| 67 | 67 | ||
| 68 | #ifndef USE_CRT_DLL | ||
| 69 | extern char **environ; | ||
| 70 | #endif | ||
| 71 | |||
| 72 | #ifdef HAVE_SETPGID | 68 | #ifdef HAVE_SETPGID |
| 73 | #if !defined (USG) | 69 | #if !defined (USG) |
| 74 | #undef setpgrp | 70 | #undef setpgrp |