aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src
diff options
context:
space:
mode:
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/ChangeLog5
-rw-r--r--lib-src/emacsclient.c5
2 files changed, 5 insertions, 5 deletions
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog
index fe90917a70b..464b9e37359 100644
--- a/lib-src/ChangeLog
+++ b/lib-src/ChangeLog
@@ -1,3 +1,8 @@
12012-08-19 Paul Eggert <eggert@cs.ucla.edu>
2
3 Rely on <unistd.h> to declare 'environ'.
4 * emacsclient.c (environ): Remove decl.
5
12012-08-17 Juanma Barranquero <lekktu@gmail.com> 62012-08-17 Juanma Barranquero <lekktu@gmail.com>
2 7
3 * makefile.w32-in ($(BLD)/regex.$(O)): Update dependencies. 8 * makefile.w32-in ($(BLD)/regex.$(O)): Update dependencies.
diff --git a/lib-src/emacsclient.c b/lib-src/emacsclient.c
index 20afe1cad11..07300dbf249 100644
--- a/lib-src/emacsclient.c
+++ b/lib-src/emacsclient.c
@@ -1584,11 +1584,6 @@ main (int argc, char **argv)
1584 /* Send over our environment and current directory. */ 1584 /* Send over our environment and current directory. */
1585 if (!current_frame) 1585 if (!current_frame)
1586 { 1586 {
1587#ifndef WINDOWSNT
1588 /* This is defined in stdlib.h on MS-Windows. It's defined in
1589 unistd.h on some POSIX hosts, but not all (Bug#10155). */
1590 extern char **environ;
1591#endif
1592 int i; 1587 int i;
1593 for (i = 0; environ[i]; i++) 1588 for (i = 0; environ[i]; i++)
1594 { 1589 {