Dmitry Timoshkov : ole32:
Move the storage signatures to the appropriate file that uses them.
Alexandre Julliard
julliard at wine.codeweavers.com
Wed Mar 21 08:17:10 CDT 2007
Module: wine
Branch: master
Commit: dce12498d02bff5c24c2148d42c427d7d1032030
URL: http://source.winehq.org/git/wine.git/?a=commit;h=dce12498d02bff5c24c2148d42c427d7d1032030
Author: Dmitry Timoshkov <dmitry at codeweavers.com>
Date: Tue Mar 20 22:18:30 2007 +0800
ole32: Move the storage signatures to the appropriate file that uses them.
---
dlls/ole32/storage32.c | 6 ++++++
dlls/ole32/storage32.h | 6 ------
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/dlls/ole32/storage32.c b/dlls/ole32/storage32.c
index 408453a..97f53df 100644
--- a/dlls/ole32/storage32.c
+++ b/dlls/ole32/storage32.c
@@ -62,6 +62,12 @@ WINE_DEFAULT_DEBUG_CHANNEL(storage);
#define OLESTREAM_ID 0x501
#define OLESTREAM_MAX_STR_LEN 255
+/*
+ * These are signatures to detect the type of Document file.
+ */
+static const BYTE STORAGE_magic[8] ={0xd0,0xcf,0x11,0xe0,0xa1,0xb1,0x1a,0xe1};
+static const BYTE STORAGE_oldmagic[8] ={0xd0,0xcf,0x11,0xe0,0x0e,0x11,0xfc,0x0d};
+
static const char rootPropertyName[] = "Root Entry";
/****************************************************************************
diff --git a/dlls/ole32/storage32.h b/dlls/ole32/storage32.h
index 4c893a0..ffad550 100644
--- a/dlls/ole32/storage32.h
+++ b/dlls/ole32/storage32.h
@@ -112,12 +112,6 @@ static const ULONG PROPERTY_NULL = 0xFFFFFFFF;
STGM_NOSNAPSHOT | STGM_DIRECT_SWMR | STGM_DELETEONRELEASE | STGM_SIMPLE)
/*
- * These are signatures to detect the type of Document file.
- */
-static const BYTE STORAGE_magic[8] ={0xd0,0xcf,0x11,0xe0,0xa1,0xb1,0x1a,0xe1};
-static const BYTE STORAGE_oldmagic[8] ={0xd0,0xcf,0x11,0xe0,0x0e,0x11,0xfc,0x0d};
-
-/*
* Forward declarations of all the structures used by the storage
* module.
*/
More information about the wine-cvs
mailing list