changeset 32855:c31ad08f0a37

Move declaration into scope of function where it's used.
author ib
date Sun, 20 Feb 2011 00:50:35 +0000
parents fc4fb1ff3f01
children 559e0f6d9d8b
files gui/skin/skin.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/gui/skin/skin.c	Sun Feb 20 00:44:27 2011 +0000
+++ b/gui/skin/skin.c	Sun Feb 20 00:50:35 2011 +0000
@@ -658,8 +658,6 @@
  return in;
 }
 
-FILE * skinFile;
-
 static char *setname( char * item1, char * item2 )
 {
   static char fn[512];
@@ -675,6 +673,7 @@
 int skinRead( char * dname )
 {
  char          * fn;
+ FILE          * skinFile;
  unsigned char   tmp[256];
  unsigned char * ptmp;
  unsigned char   command[32];