diff options
author | George Hazan <george.hazan@gmail.com> | 2013-04-22 07:47:20 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-04-22 07:47:20 +0000 |
commit | 264048f91b5767bd7b262f91eb3aa657078e669e (patch) | |
tree | 2f962ed4195bb1311b437016c76cc955dceef044 /plugins | |
parent | 1f4a87d04b2d47bba6a80d2a7305c3e57eb2cba0 (diff) |
missing declaration
git-svn-id: http://svn.miranda-ng.org/main/trunk@4504 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/Dbx_mmap_SA/Cryptors/RC4/src/cryptor.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/Dbx_mmap_SA/Cryptors/RC4/src/cryptor.cpp b/plugins/Dbx_mmap_SA/Cryptors/RC4/src/cryptor.cpp index d41f3a9eb2..a673c11fe7 100644 --- a/plugins/Dbx_mmap_SA/Cryptors/RC4/src/cryptor.cpp +++ b/plugins/Dbx_mmap_SA/Cryptors/RC4/src/cryptor.cpp @@ -20,9 +20,9 @@ typedef struct{ } Cryptor;
typedef struct rc4_key
-{
- BYTE state[256];
- BYTE x;
+{
+ BYTE state[256];
+ BYTE x;
BYTE y;
} rc4_key;
@@ -111,7 +111,7 @@ void __stdcall DecryptMem(BYTE* data, int size, void* key) rc4(data, size, (rc4_key*)key);
}
-Cryptor cryptor =
+Cryptor cryptor =
{
GenerateKey,
FreeKey,
@@ -127,7 +127,7 @@ Cryptor cryptor = };
-__declspec(dllexport) Cryptor* GetCryptor()
+extern "C" __declspec(dllexport) Cryptor* GetCryptor()
{
return &cryptor;
-}
\ No newline at end of file +}
|