diff src/print.c @ 106177:cb523092ddfd

* xterm.c (x_new_font): * print.c (print_object): * cmds.c (Fself_insert_command): Move declarations before statements.
author Dan Nicolaescu <dann@ics.uci.edu>
date Sat, 21 Nov 2009 02:33:45 +0000
parents 8103235103a7
children f2cea199b0c4
line wrap: on
line diff
--- a/src/print.c	Fri Nov 20 21:49:46 2009 +0000
+++ b/src/print.c	Sat Nov 21 02:33:45 2009 +0000
@@ -2034,6 +2034,7 @@
       else if (HASH_TABLE_P (obj))
 	{
 	  struct Lisp_Hash_Table *h = XHASH_TABLE (obj);
+	  int i, real_size, size;
 #if 0
 	  strout ("#<hash-table", -1, -1, printcharfun, 0);
 	  if (SYMBOLP (h->test))
@@ -2086,10 +2087,8 @@
 	  strout (" data ", -1, -1, printcharfun, 0);
 
 	  /* Print the data here as a plist. */
-	  int i;
-
-	  int real_size = HASH_TABLE_SIZE (h);
-	  int size = real_size;
+	  real_size = HASH_TABLE_SIZE (h);
+	  size = real_size;
 
 	  /* Don't print more elements than the specified maximum.  */
 	  if (NATNUMP (Vprint_length)