diff main.c @ 9:c88a4f98b5ef

no compile errors
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Tue, 07 Dec 2010 23:45:46 +0900
parents 972a7f233b23
children
line wrap: on
line diff
--- a/main.c	Tue Dec 07 23:13:25 2010 +0900
+++ b/main.c	Tue Dec 07 23:45:46 2010 +0900
@@ -29,14 +29,13 @@
 
 #include "error.h"
 
-int gamef = 0;
-int use_keybord = 0;
-int cdp[20] = { 16, 16, 16, 17, 18, 0 };
-int d, i;
+static int gamef = 0;
+static int use_keybord = 0;
+static int i;
 
-int rswait = 0;
-int cf = 0;
-int cc = 0;
+static int rswait = 0;
+static int cf = 0;
+static int cc = 0;
 
 static Uint32 background;
 // static char *pad_trace_file;
@@ -63,7 +62,6 @@
  *     program will run with a trace file which is generated           
  *     by capture-mode
  */
-int runmode;
 
 #ifdef ENABLE_TRACEMODE
 #define SCMP_SIZ 8