From ec2a5cce1a4e3609535a9ae902a80933fbb0f341 Mon Sep 17 00:00:00 2001 From: Anton Romanov Date: Mon, 25 Sep 2006 09:44:10 +0000 Subject: yet more code cleanup, quick snapshot feature,sound should no longer crash,light optimizations git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11041 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/zxbox/spconf.c | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) (limited to 'apps/plugins/zxbox/spconf.c') diff --git a/apps/plugins/zxbox/spconf.c b/apps/plugins/zxbox/spconf.c index 7c49269fa3..952b3c4c12 100644 --- a/apps/plugins/zxbox/spconf.c +++ b/apps/plugins/zxbox/spconf.c @@ -19,7 +19,6 @@ */ #include "misc.h" #include "spconf_p.h" -#include "spver.h" #include "interf.h" #include "spscr_p.h" #include "spkey.h" @@ -29,7 +28,6 @@ #include "zxconfig.h" #include "stdio.h" #include "string.h" -/*#include */ #include "sys/types.h" #include "helpers.h" #include "ctype.h" @@ -42,17 +40,7 @@ char *spcf_init_snapshot = NULL; int spcf_init_snapshot_type; char *spcf_init_tapefile = NULL; int spcf_init_tapefile_type; -#ifndef USE_GRAY -#define exit(i) rb->splash(HZ*1,true,"Exit: %d",i) -#else -#define exit(i) i=i -#endif -#define MAXLINELEN 512 -/*static int linectr; -static FILE *conffp; -static int conffd; -static const char *conffile; -*/ + static int file_type = -1; static int file_subtype; -- cgit v1.2.3