aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src
diff options
context:
space:
mode:
authorDan Nicolaescu2007-05-26 17:28:45 +0000
committerDan Nicolaescu2007-05-26 17:28:45 +0000
commit30790a37efea5c6fed87ee0dd0d54c31ac9eea11 (patch)
tree8dff3a7d4eeffd47233240ee672838a0f32609a0 /lib-src
parent98db66cac2e07862a43014b57ebcc2f0fbfc07e6 (diff)
downloademacs-30790a37efea5c6fed87ee0dd0d54c31ac9eea11.tar.gz
emacs-30790a37efea5c6fed87ee0dd0d54c31ac9eea11.zip
* emacsclient.c (main): Avoid having a declaration after a
statement. * sysdep.c: Comment out text after #endif.
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/ChangeLog.multi-tty5
-rw-r--r--lib-src/emacsclient.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/lib-src/ChangeLog.multi-tty b/lib-src/ChangeLog.multi-tty
index 6812eeef847..dcd1713294c 100644
--- a/lib-src/ChangeLog.multi-tty
+++ b/lib-src/ChangeLog.multi-tty
@@ -1,3 +1,8 @@
12007-05-26 Dan Nicolaescu <dann@ics.uci.edu>
2
3 * emacsclient.c (main): Avoid having a declaration after a
4 statement.
5
12007-05-21 Juanma Barranquero <lekktu@gmail.com> 62007-05-21 Juanma Barranquero <lekktu@gmail.com>
2 7
3 * emacsclient.c (print_help_and_exit): Restore and adapt trunk 8 * emacsclient.c (print_help_and_exit): Restore and adapt trunk
diff --git a/lib-src/emacsclient.c b/lib-src/emacsclient.c
index 0356735ab6d..0dc662dabef 100644
--- a/lib-src/emacsclient.c
+++ b/lib-src/emacsclient.c
@@ -1347,11 +1347,11 @@ main (argc, argv)
1347 1347
1348 if (tty) 1348 if (tty)
1349 { 1349 {
1350 char *type = getenv ("TERM");
1350 char *tty_name = NULL; 1351 char *tty_name = NULL;
1351#ifndef WINDOWSNT 1352#ifndef WINDOWSNT
1352 tty_name = ttyname (fileno (stdin)); 1353 tty_name = ttyname (fileno (stdin));
1353#endif 1354#endif
1354 char *type = getenv ("TERM");
1355 1355
1356 if (! tty_name) 1356 if (! tty_name)
1357 { 1357 {