comparison lib-src/emacsclient.c @ 83628:7a881fda2c3a

* emacsclient.c (main): Avoid having a declaration after a statement. * sysdep.c: Comment out text after #endif.
author Dan Nicolaescu <dann@ics.uci.edu>
date Sat, 26 May 2007 17:28:45 +0000
parents 3b1222f7b28a
children 65663fcd2caa
comparison
equal deleted inserted replaced
83627:422451dd396a 83628:7a881fda2c3a
1345 send_to_emacs (emacs_socket, " "); 1345 send_to_emacs (emacs_socket, " ");
1346 } 1346 }
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 {
1358 message (TRUE, "%s: could not get terminal name\n", progname); 1358 message (TRUE, "%s: could not get terminal name\n", progname);
1359 fail (); 1359 fail ();