]> code.delx.au - gnu-emacs/blobdiff - src/s/gnu-linux.h
* process.c (allocate_pty): Let PTY_ITERATION declare iteration vars.
[gnu-emacs] / src / s / gnu-linux.h
index a102f602bd7bd13303ebed6a757ce64dce657b9a..178d7082f72830c4a540e8afc34b76f6329aa09f 100644 (file)
@@ -1,7 +1,6 @@
 /* This file is the configuration file for Linux-based GNU systems
 
-Copyright (C) 1985, 1986, 1992, 1994, 1996, 1999, 2001, 2002, 2003, 2004,
-  2005, 2006, 2007, 2008, 2009, 2010, 2011
+Copyright (C) 1985-1986, 1992, 1994, 1996, 1999, 2001-2011
   Free Software Foundation, Inc.
 
 This file was put together by Michael K. Johnson and Rik Faith.
@@ -45,7 +44,7 @@ along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.  */
 #define UNIX98_PTYS
 
 /* Run only once.  We need a `for'-loop because the code uses `continue'.  */
-#define PTY_ITERATION  for (i = 0; i < 1; i++)
+#define PTY_ITERATION  int i; for (i = 0; i < 1; i++)
 
 #ifdef HAVE_GETPT
 #define PTY_NAME_SPRINTF
@@ -160,4 +159,3 @@ along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.  */
   } while (0)
 #endif
 #endif
-