From d131a312668f2503546d7e1047c4a6be47ca0589 Mon Sep 17 00:00:00 2001 From: Dominik Riebeling Date: Tue, 17 Jun 2008 17:52:13 +0000 Subject: Rename variables sectorbuf and verbose to avoid clashes in rbutil. Cleanup exports a bit. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17730 a1c6a512-1295-4272-9138-f99709370657 --- rbutil/sansapatcher/main.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'rbutil/sansapatcher/main.c') diff --git a/rbutil/sansapatcher/main.c b/rbutil/sansapatcher/main.c index b813fadbe6..83eb8f80db 100644 --- a/rbutil/sansapatcher/main.c +++ b/rbutil/sansapatcher/main.c @@ -32,10 +32,6 @@ #define VERSION "0.6 with v4.0 bootloaders" -unsigned char* sectorbuf; - -int verbose = 0; - enum { NONE, INSTALL, @@ -150,7 +146,7 @@ int main(int argc, char* argv[]) return 1; } - if (sansa_alloc_buffer(§orbuf,BUFFER_SIZE) < 0) { + if (sansa_alloc_buffer(&sansa_sectorbuf,BUFFER_SIZE) < 0) { fprintf(stderr,"Failed to allocate memory buffer\n"); } -- cgit v1.2.3