diff options
author | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2012-12-23 23:30:57 +0100 |
---|---|---|
committer | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2013-01-01 15:05:52 +0100 |
commit | 24e37ddf57bac6a1c9786d50abbe3a1982930382 (patch) | |
tree | b34ae751986f185f51556a040f388025cac4c383 /rbutil/ipodpatcher/ipodpatcher.h | |
parent | 6803d7b10cd9651ded08674f1597d4511cabb7af (diff) |
ipodpatcher: move sectorbuf pointer into ipod_t structure.
The ipod_t structure holds all relevant information for ipodpatcher. Put the
global ipod_sectorbuf pointer into it as well. Allows the Rockbox Utility Ipod
class to be instanciated multiple times since each instance can now have its
own buffer.
Change-Id: Ie319cbadbc20c367ceadba9a46b4dc34b57a79a7
Diffstat (limited to 'rbutil/ipodpatcher/ipodpatcher.h')
-rw-r--r-- | rbutil/ipodpatcher/ipodpatcher.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/rbutil/ipodpatcher/ipodpatcher.h b/rbutil/ipodpatcher/ipodpatcher.h index dc3f100520..01f5a1bb26 100644 --- a/rbutil/ipodpatcher/ipodpatcher.h +++ b/rbutil/ipodpatcher/ipodpatcher.h @@ -32,16 +32,6 @@ extern "C" { of the Apple firmware, but not the Nano's RSRC image. */ #define BUFFER_SIZE 8*1024*1024 -#ifndef _MSC_VER -extern unsigned char* ipod_sectorbuf; -#else -/* MSVC needs to use dllimport to allow using it directly from a DLL. - * See http://support.microsoft.com/kb/90530 - * Building with MSVC is only when using as DLL. - */ -_declspec(dllimport) unsigned char* ipod_sectorbuf; -#endif - extern int ipod_verbose; #define FILETYPE_DOT_IPOD 0 |