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/editfns.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/editfns.c')
| -rw-r--r-- | src/editfns.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/editfns.c b/src/editfns.c index c4725aa0ff3..fa57edead28 100644 --- a/src/editfns.c +++ b/src/editfns.c | |||
| @@ -58,10 +58,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 58 | #include "window.h" | 58 | #include "window.h" |
| 59 | #include "blockinput.h" | 59 | #include "blockinput.h" |
| 60 | 60 | ||
| 61 | #ifndef USE_CRT_DLL | ||
| 62 | extern char **environ; | ||
| 63 | #endif | ||
| 64 | |||
| 65 | #define TM_YEAR_BASE 1900 | 61 | #define TM_YEAR_BASE 1900 |
| 66 | 62 | ||
| 67 | #ifdef WINDOWSNT | 63 | #ifdef WINDOWSNT |