# HG changeset patch # User ib # Date 1298163035 0 # Node ID c31ad08f0a37e1e5330a0630007dcaeaa4a7f2e0 # Parent fc4fb1ff3f01745433719cde9a1832ee47ae620e Move declaration into scope of function where it's used. diff -r fc4fb1ff3f01 -r c31ad08f0a37 gui/skin/skin.c --- 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];